ludicrousdb
ludicrousdb copied to clipboard
Wordpress Slower with ludicrousdb
I'm running wordpress with php-fpm 7.2 and two mysql 5.7 servers, one as master one as slave. If I connect to either db directly pages load at least 3 seconds faster than if I use ludicrousdb. I have the master set with a read priority of 2 and write 1, slave is read 1 and write 0. Any known issues that might cause this? If not, how can I go about troubleshooting what's causing the overhead?
Might be related to save_backtrace being set to true?
Please post your config (and remove any personally identifying info for the site) and we can try and help!
@IGotNothin still seeing this?
I'll have to give it a try again, it wasn't usable so I undid the setup. I'll give it a go again and report back. I would like to get this working.
I set it up again and tested and it's about 2 seconds faster without ludicrousdb for the page I was testing. I'm using a pretty simple config, attached. I don't see a save_backtrace option, so not sure where I'd check that. And does it matter if the plugin is activated in Wordpress? Didn't seem to make a difference if it was or not.
same for me @IGotNothin ...
did you solve this?
(i set the save_backtrace to false)
No, I gave up and haven't had a chance to revisit it again.
Sorry y'all. I'll try to prioritize this.
It is conceivable that adding LudicrousDB to a bare-bones WordPress installation would not show any improvements, and maybe even make things worse. Apples-to-apples, LDB is more code and does more work to add more functionality, and hasn't really been tuned to be better on a vanilla install.
(I do think, personally, that LDB needs better diagnostics to help us debug these kinds of issues, for Query Monitor, Site Health, etc...)