We are building a small server for a new set of APIs for Sync, and am
going to use Nginx instead of Apache for it.
The performances are a bit better, but the big difference is that
Nginx does not eat up your memory like Apache would on high load. The
server stays quite low on memory and is also using less CPU. So the
same hardware scales *way* better. The stress tests I did with
funkload shows how the Apache-based configuration drops on high loads,
while the Nginx one stays really stable.
I have tried two different WSGI backends for Nginx:
- GUnicorn
- uWSGI (now directly available in Nginx 0.8)
Both are performing the same, but GUnicorn is using twice more CPU
than uWSGI. I am investigating on this with the Gunicorn team.
Anyone uses NGinx ?
Cheers
Tarek
--
Tarek Ziadé | http://ziade.org
I haven't been using it myself yet, but I also hear good things about
nginx + spawning.
Cheers,
Dirkjan
spawning ! I forgot about that one, thanks for the reminder, I'll try it as well
I have tried two different WSGI backends for Nginx:
- GUnicorn
- uWSGI (now directly available in Nginx 0.8)