This has, to some degree, been an ongoing issue for us but now it has become more urgent. Our server admin has pointed out on several earlier occasions that our site causes a lot of load on the mySQL database. Now our traffic has gone up somewhat due to an upcoming TV series based on the books that our site is a fansite for and today mySQL has been spinning out of control quite a bit. To quote from a mail from our server admin:
“What I’ll have to figure out is some way to hypertune mysql. That seems to be the bottleneck right now, due to so many of the pages being dynamically generated. Nothing’s ever just loaded from disk, almost every hit involves asking the database for data. So MySQL becomes the bottleneck, hitting its maximum and causing connections to have to wait.”
Now, for our part, we have followed the guidelines for optimizing the site. Every template is set to a 60 minute cache, though our server admin also says regarding the caching: “Unfortunately, that doesn’t seem to be working (I also see a lot of cache-related errors in the eAccelerator log, fwiw).”
I am not sure what else to do and our server admin knows nothing about EE. Is there anything I can tell her in regards to what kind of tuning would work well with EE? Or is there any setup information that I should get from her that you can take a look at, to see if something is obviously wrong?
We’re on the latest 1.7 version and build. A large chunk of the traffic right now is to various Gallery pages, though when I asked about this earlier it was said that the Gallery should behave no differently than a weblog in terms of performance.