Re:12,000 Requests per second with Nginx, PHP and Memcached
by antihero on Tuesday February 15, 2011 @06:14AM
(#2220844)
With nginx+PHP script that just echoes "hi", I get a mere ~2000req/sec. What am I doing wrong? What are the specs of his server?
[ Parent
| on HN ]
Re:12,000 Requests per second with Nginx, PHP and Memcached
by ovi256 on Tuesday February 15, 2011 @07:15AM
(#2220939)
He's using the nginx full-page cache mechanism, backed into memcached. This way nginx does not touch PHP at all. It goes straight to memcached, which keeps data in RAM, so it serves pages in 7 ms.