News for hackers. Stuff that matters.
Re:Balancer Battle – Load testing HAproxy, Nginx and HTTP-Pr... by V1 on Tuesday April 09, 2013 @09:03AM (#5517754)
Because we people obviously don't have a datacenter in our own basement. And the common mistake people make when benchmarking is running the servers on their own machine and then use the same machine to benchmark the server it's running.

You need to have multiple (powerful) machines for this. And also, spinning up machines in the cloud is quite easy to do and allows people to reproduce the same test results because you have access to exactly the same environment.

Re:Balancer Battle – Load testing HAproxy, Nginx and HTTP-Pr... by snaky on Tuesday April 09, 2013 @09:48AM (#5517997)
>You need to have multiple (powerful) machines for this

Oh really? For simple http 'hello world' comparision (where you are interested in relative numbers, not absolute ones) bechmark?

All you need is one old and slow laptop (with test contenders) and one modern and mighty (with test script). The only thing you have to be sure about is the test script can generate more load than test contenders can handle. Even if the old laptop isn't slow enough you can just add some predictable and stable load to cpu/disks/network/whatever is a bottleneck for them - you may use tools that are available for that or even quick & dirty hacks like one-liner 'while(1) {do some math}' that effectively make your 2-cores CPU 1-core while running with high system priority.

Re:Balancer Battle – Load testing HAproxy, Nginx and HTTP-Pr... by devicenull on Tuesday April 09, 2013 @09:12AM (#5517804)
You can reproduce them? So you can match the loads running on all the other VMs on the same host then?
Re:Balancer Battle – Load testing HAproxy, Nginx and HTTP-Pr... by kalmar on Tuesday April 09, 2013 @11:44AM (#5518893)
You could use cluster compute instances which use hardware virtualisation, and I think gives you the whole machine. With spot pricing, you could run them for about 21¢ an hour.