Mailing List Archive

How to benchmark the time taken by the loadbalancers' failover?
Hello lvs-users,

I want to benchmark the loadbalancers' failover time, so i use
Apache's benchmarking tool "ab". Following is input and output:

########################
[root@brijesh /root]# ab -n 3000 http://VIP/
This is ApacheBench, Version 1.3c <$Revision: 1.38 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Benchmarking VIP (be patient)...
Server timed out

: Operation now in progress
########################

When ab was benchmarking, i made the failover, then timed out.
If i just simply benchmark http://VIP, it was ok, takes about 15
seconds. And i also found when the backup loadbalancer came to work,
it took a fairly long time to connect to http://VIP, but after a few
seconds, it would be ok. I don't know the reason.

Waiting for your help, ;-)
--
Best regards,
huatao mailto:thua@sei.xjtu.edu.cn