News for hackers. Stuff that matters.
Re:How to handle 1000s of concurrent users on a 360MB VPS by stock_toaster on Saturday May 28, 2011 @05:36AM (#2594204)
I found that forum thread quite hard to follow, and there are blobs of ab runs sprinkled all over. I clicked a few pages through, and didn't see any configs posted, sysctl values, etc. Was it more of an ad-hoc test you were running just to get some vague ideas about performance, as apposed to a comprehensive performance comparison?

My personal (anecdotal) experience shows that nginx is amazingly fast. Some nginx configs can impact performance if you aren't careful (I am thinking of try_files vs if-tests[1]), and there are various nginx tunables (worker process count, cpu affinity, etc) as well.

I have personally seen issues with apachebench when there are lots of connections (not to mention linux system tunables such as max file descriptors!), iptables state tracking, etc...

[1]: http://wiki.nginx.org/IfIsEvil

Re:How to handle 1000s of concurrent users on a 360MB VPS by nwmcsween on Saturday May 28, 2011 @01:10PM (#2594773)
This was stock RHEL 5, I tested nginx compiled with gcc -O2, -O3, -O2 -ffast-math epoll was enabled, I even specified the cache line size at build time and tested hard enabling AIO the nginx config consisted of simply serving a simple static html page. I tried every option under the sun at the time tcp_nopush, etc. I spent days testing apache vs nginx vs litespeed, instead of drinking the kool aid.
Re:How to handle 1000s of concurrent users on a 360MB VPS by guylhem on Saturday May 28, 2011 @04:42PM (#2595176)
Did you try others things like thttpd ?