Lots of database writes with Ajax?
-
I have been a happy user of this plugin for about two years now (or even more). It always worked perfectly.
I have noticed recently a CPU load increase on my hosting server. It started mid December and it correlates very closely with a growth of database writes. They both follow exactly same pattern. Yesterday I blocked ajax scripts for 10 minutes, my statistics didn’t grow and I had almost no database writes.
Before last Dec I used to have very little operations on a DB – almost nothing. Now I have about 150 writes per minute with less than 10 reads – these are daily averages. In peak I have 200-400 writes per minute with less than 20 reads. I monitor Innodb_data_reads and Innodb_data_writes.I know in the past this plugin had its own js being called on every visit. And I recall that the whole new WP API is quite a new thing.
Was there a change in how top-10 works around December? And how can it be that with very similar traffic I had almost no writes in November, a and now I have about 50 times more?Thank you for any ideas.
- The topic ‘Lots of database writes with Ajax?’ is closed to new replies.