For now nginx is first choice for Webperformance, but in some years the next thing will arrive.
For now nginx is first choice for Webperformance, but in some years the next thing will arrive.
See http://wiki.dreamhost.com/Web_Server_Performance_Comparison for instance.
Immediately followed by:
> Apache can work with PHP-FPM just like Nginx using the new evented worker mpm
seems contradictory. Can you clarify this bit?
Prefork - if you want to use mod_php, you're stuck with this. I think this is what you're referring to as "the process model"
Worker - Uses threads to handle connections. A big step up from prefork, but not as awesomesauce as nginx.
Evented - The new MPM which use epoll
It's been possible to run PHP(-fpm) under "worker" (via FastCGI) for years, and it performs adequately. I never benchmarked, but I was using this setup back when nginx was still too bleeding-edge for my tastes, and it certainly beat the pants of prefork/mod_php
[0] http://w3techs.com/technologies/history_overview/programming...
I use nginx too and see the difference. There is a place for apache, but not the leadership of webservers.