wp-varnish perf issue on marking pending comments as spam
Chris Hecker
checker at d6.com
Fri Nov 21 02:28:03 CET 2014
Not sure if this is an appropriate place for this...
I was having huge performance issues marking batches of pending comments
as spam, tons of httpds spawned, giant mysql spikes, etc. I narrowed it
down to the wp-varnish plugin, which is apparently purging the cache on
every spam comment, even though they were pending and not displayed on
the page. Disabling the plugin and then marking a batch as spam would
be tens of times faster (<1 second for 75 comments versus 20+ seconds).
I'm not going to have time to take a look at this for a while, and I'm
just going to do the disable dance in the meantime, but if somebody else
gets to it that'd be awesome. I assume it can just check if the comment
was pending and then not purge and the problem would go away.
Chris
More information about the varnish-misc
mailing list