|
John Quaglieri |
The rewrite_confs system is in need of an overhaul to speed it up. It does not scale well as users and domains are added - and compared to another panel - the same amount of domains the httpd.conf file can build in seconds vs much longer (minutes) on directadmin.
rewrite_conf works through lots of files and reads them one by one
Potential ideas:
- Have datataskq work through these files and create cache the files / move to a format read quicker. Looking at other systems, their similar user files are converted to json and cached for faster reads. This could leave the system mostly as is with a way to speed up reads, if available and fall back.
- Rewrite it and move out of custom build into a faster language. This one would be harder to do, but long term makes the most sense.