There is an even better HTTP server - nGinx.
It's somewhat similar to Lighttpd, but smaller and faster, especially with static data.
It may easily handle dozens of thousands of simultaneous connections, run as a load-balancer and reverse proxy, take data directly from memcached, etc.
I am using it instead of Apache, running PHP as fast-cgi on the unix socket.
The total memory consumption of Nginx+PHP+APC+MySQL is about 60 Mb, and it's a fully-functional server able to handle ~10-20 simultaneous connections normally.
This way a cheap VPS becomes a fully adequate way to run a site.
The only drawback is it's written by a Russian guy and original docs are in Russian. There are translations, though. |