Hi,
On Mon, Jan 05, 2009 at 12:20:40PM -0800, Hsin, Chih-fan wrote:
> Hi, have any one use HAproxy to run some web server benchmark testing?
Yes, but only in front of real applications, in order to stress those
applications before putting them in production.
> I tried to see if I can use HAproxy in SPECweb2005 configuration, but
> I couldn't find a way. I want to use a set of web servers to serve as
> the System Under Test (SUT). The requests from clients to SUT can be
> distributed through HAproxy.
I'm not familiar with SPECweb2005 configuration. Do you have any pointer
to a diagram ?
> However, the traffics from Primary Client and the Backend Simulator to
> SUT cannot be routed to the correct web server. At least, I didn't find
> a way yet.
>From what I understand, you have a client ("primary client", PC) and a server
("backend simulator", BS), and the SUT sits in between, just like we normally
bench a proxy, except that here, your SUT consists in one machine running
haproxy and a handful of similar web servers to measure. Am I right ?
How do you expect the PC to choose the web server in this test ? haproxy can
do roundrobin, or several other algorithms, and can as well select based on
layer 7 criteria. Also, how do you want the traffic to flow back from the BS
to the PC ? I assume that the BS is just a server which replies to the web
servers, which in turn reply to haproxy which replies to the PC, but all that
is pure guess.
Regards,
Willy