News for hackers. Stuff that matters.
Re:Wordpress.com serves 70k requests/second using Nginx by barsxl on Wednesday September 26, 2012 @11:48PM (#4579213)
The majority of our transient bugs on WordPress.com are probably related to APC opcode issues. We try to catch them and handle it gracefully, but it isn't always so easy.
Re:Wordpress.com serves 70k requests/second using Nginx by jacques_chester on Thursday September 27, 2012 @12:11AM (#4579300)
Out of the opcode caches I've tried, XCache was the most stable. APC was an utter bomb, I wouldn't trust it with burnt hair.
Re:Wordpress.com serves 70k requests/second using Nginx by mikescar on Thursday September 27, 2012 @12:23AM (#4579344)
I'm interested to hear what versions of PHP and APC you used.

In my experience, stable APC releases have been very stable, but beta APC can poop out pretty bad, even if the changelog doesn't indicate anything that might affect your application.

I've used stable APC + PHP + Apache releases to do some large things, so not sure why APC is an utter bomb in 2012.

Re:Wordpress.com serves 70k requests/second using Nginx by jacques_chester on Thursday September 27, 2012 @12:26AM (#4579354)
We're talking ... late 2007 here. I must confess that I didn't keep an engineering diary.
Re:Wordpress.com serves 70k requests/second using Nginx by mh- on Thursday September 27, 2012 @01:46AM (#4579532)
really? that might have been worth mentioning in all your other comments trashing opcode caching. that was 5 years ago.
Re:Wordpress.com serves 70k requests/second using Nginx by mikescar on Thursday September 27, 2012 @11:30AM (#4581112)
No kidding. There really aren't "three major opcode caches" anymore, APC won out years ago and is now tightly integrated with PHP compiles and as a module available in any package manager.
Re:Wordpress.com serves 70k requests/second using Nginx by ZoFreX on Thursday September 27, 2012 @07:56AM (#4580249)
It's worth revisiting. We had huge problems with it when we tried it out in 2007, but I tried it again earlier this year and was pleasantly surprised - I got everything working, easily, and nothing broke. And I got that speed up.

My gut feeling tells me that your profiling is correct, however - any significant PHP application (that isn't written terribly inefficiently) will have its bottleneck in data access and not the parse/compile stage. There's very little point to speeding up by 250% a portion of your app that only accounts for 2% of execution time!

Re:Wordpress.com serves 70k requests/second using Nginx by evansolomon on Thursday September 27, 2012 @12:24AM (#4579348)
APC is also the most likely by 1000x to be merged into PHP core, so I would rather use/support/fix that.
Re:Wordpress.com serves 70k requests/second using Nginx by jacques_chester on Thursday September 27, 2012 @12:27AM (#4579357)
True, and if it is, I might use it when that happens.

Maybe.

Re:Wordpress.com serves 70k requests/second using Nginx by ck2 on Thursday September 27, 2012 @09:17AM (#4580496)
I'd be interested to read on your blog about what APC problems you've encountered - we have many wp installs with APC and the only problem is it will segfault once in a blue moon but we can automatically restart when that happens.