|
Thursday 04 May 2006 7:05:25 pm
Comment53214
I use nginx webserver + php in fcgi mode to run EZ. Everything is fine. Mush better than apache + mod_php.
nginx ~ lighttpd (a bit more fast, but with lask of international support) http://sysoev.ru/nginx FCGI get you very big advantages when no static cache used. It protects you server from overload, when you ged 1000 requests wich have to generate viewcache. The second advandage is the possibility to run several php versions with the same webserver. No need to have headaches with running several webservers on different ports or different IPs. The third advantage is that you can easily control your CPU resources. For example, I have 3 FCGI processes for EZ (php4), and 5 FCGI processes (php5) for other scripts (forums, blogs and so on). That prevents EZ to take 100% CPU resources at high load. To summarise the difference on nginx (or lighttpd) + FCGI php / apache + mod_php:
- when top shows server load less than 1, then almost no performance gain - when top shows server load > 1, you can gain several times. Try to imagine, that you run php with accelerator and without it. Here is the similar situation :) .
|