Re:Wordpress.com serves 70k requests/second using Nginx
by ck2 on Wednesday September 26, 2012 @11:34PM
(#4579173)
You mentioned opcode cache problems - some people complain of segfaults and I am just pointing out you can make it restart if that ever happens. (I've had it trigger three times this entire year so far.)
There is most certainly a serious load reduction when using an opcode cache. It's not just common sense, you easily find a dozen independent benchmarks on the web proving it.
Now if you had the opcode cache running incorrectly you might not see the improvement (ie. some people misconfigure it where the memory is not shared and persistant, and instead gets destroyed as php children are created/removed).
Re:Wordpress.com serves 70k requests/second using Nginx
by jacques_chester on Thursday September 27, 2012 @12:07AM
(#4579287)
My point is that loading, parsing and interpreting PHP is rarely the bottleneck in Wordpress.
In terms of microbenchmarks, opcode caches look spectacular. In terms of the larger stack, given the way Wordpress works? Meh, a few percent.
It might be worth it for a big site to shave a few dozen servers off the bill. But the overhead imposed by flakiness is not worth my time.
Re:Wordpress.com serves 70k requests/second using Nginx
by mh- on Thursday September 27, 2012 @01:46AM
(#4579529)
I've never heard of anyone not get incredible speedups with APC. We're talking 250%+. Every (large) production PHP deployment I've seen, disabling APC would make everything fall over. They would need 3-4x as much capacity.
Re:Wordpress.com serves 70k requests/second using Nginx
by andrewaylett on Thursday September 27, 2012 @10:26AM
(#4580827)
I think the big point here is that on a Wordpress site, most hits don't actually get as far as PHP -- most of the time, pages can be served statically from wp-supercache or similar.
... wat
> I cannot imagine running PHP without an opcode cache, you are losing a speedup of 300% to 500%
That's just not what my profiling showed.