a load balancing scenario using HAProxy and keepalived shows no performance advantage

Posted by chakoshi on Server Fault See other posts from Server Fault or by chakoshi
Published on 2011-01-13T18:37:37Z Indexed on 2011/01/13 18:55 UTC
Read the original article Hit count: 268

Filed under:
|
|

Hi, I am trying to setup a load balanced web server scenario, using two HAproxy load balancers and two debian web servers following this guide http://www.howtoforge.com/setting-up-a-high-availability-load-balancer-with-haproxy-keepalived-on-debian-lenny.

the setup is working but the results of simple performance benchmarking is not what I expected. I tried apache benchmark tool to send lots of requests to servers (one time directly testing one of the web servers and the other time testing through the load balancer) using the command "ab -n 1000000 -c 500 http://IP/index.html", but the test results shows better performance for the single server without load balancer. can any one tell me if I'm going wrong on some thing?

© Server Fault or respective owner

Related posts about linux

Related posts about load-balancing