ludicrousdb icon indicating copy to clipboard operation
ludicrousdb copied to clipboard

Wordpress Slower with ludicrousdb

Open IGotNothin opened this issue 6 years ago • 7 comments

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?

IGotNothin avatar May 23 '19 18:05 IGotNothin

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!

JJJ avatar Aug 04 '19 22:08 JJJ

@IGotNothin still seeing this?

JJJ avatar Jan 02 '20 06:01 JJJ

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.

IGotNothin avatar Jan 02 '20 21:01 IGotNothin

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.

db-config.php.txt

IGotNothin avatar Jan 03 '20 00:01 IGotNothin

same for me @IGotNothin ...

did you solve this?

(i set the save_backtrace to false)

Edu-hs avatar Sep 20 '22 18:09 Edu-hs

No, I gave up and haven't had a chance to revisit it again.

IGotNothin avatar Sep 20 '22 18:09 IGotNothin

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...)

JJJ avatar Sep 20 '22 18:09 JJJ