On Sat, Jan 29, 2011 at 04:01:33PM -0700, Sean Hess wrote:
> Unfortunately, the results are almost exactly the same with haproxy 1.4 and
> those changes you recommended. I'm so confused...

Your numbers indicate a big problem somewhere :

  Concurrency Level: 200
  Requests per second: 176.56 [#/sec] (mean)
  Time per request: 1132.776 [ms] (mean)

That's much too slow, you should get approximately 100-200 times that.

What do the logs say ? They will report details about where each request
spends time (connection, headers, response, ...).

One thing that could happen would be that the server ignores the
"Connection: close" header and maintains the connection opened for
1 second. With 1.4, you'd better use "option http-server-close"
and remove "option httpclose". This option actively closes the
server-side connection and does not depend on the server's will
to comply with the request.

Regards,
Willy


Reply via email to