Expected Performance?

From: Tova Shio <tovashio#gmail.com>
Date: Thu, 3 Jan 2008 11:40:05 -0800


I've recently begun testing HAProxy[1] as a LB for web servers. Now, using httperf[2] I can get about 2k req/s directly from each Apache instance. With a roundrobin load balance between two Apache instances I can only seem to get 1.5k req/s.

Does this seem like common/acceptable degradation?

[1] HAProxy was compiled ala `make REGEX=pcre DEBUG=` and started
using `./haproxy -f haproxy.cfg`.

haproxy.cfg:

    global

            daemon
            quiet
            pidfile /var/run/haproxy.pid

    listen  http_proxy      :80
            mode tcp
            balance roundrobin
            server web1     123.123.123.123
            server web2     123.123.123.124

[2] httperf command used:

httperf --hog --num-conns=1000 --num-calls=10000 --server=208.75.87.203 --uri=/apache2-default/index.html Received on 2008/01/03 20:40

This archive was generated by hypermail 2.2.0 : 2008/01/03 20:45 CET