Re: Performance Question

2010-10-07 Thread Les Stroud
My goal in this testing was to produce a report for management showing how haproxy with the four tomcats increased capacity and improved scale vs having direct access to tomcat. I would think it would be pretty straight forward to produce that graph. Unfortunately, the results that I received

Re: Performance Question

2010-10-07 Thread Anze
I hope I am not saying something stupid (haven't met `ab` before), but wouldn't non-2xx responses mean HTTP errors? In that case you have the same amount of errors (actually, a bit more???) than requests sent. You should fix those first before running any tests. Also, as Hank said, you should

Re: Performance Question

2010-10-07 Thread Willy Tarreau
Hi Les, On Thu, Oct 07, 2010 at 01:52:57PM -0400, Les Stroud wrote: (...) Also, one interesting thing to note is that at no time am I able to max out the cpu on any of the boxes. In fact, I barely touch them. I don?t see a memory or io constraint either. All I can assume is a network

Re: Performance Question

2010-10-07 Thread Les Stroud
Thank you for taking the time to reply. It is VERY helpful. Please see my further questions :) below. LES On Oct 7, 2010, at 5:11 PM, Willy Tarreau wrote: Hi Les, On Thu, Oct 07, 2010 at 01:52:57PM -0400, Les Stroud wrote: (...) Also, one interesting thing to note is that at no time am

Re: Performance Question

2010-10-07 Thread Willy Tarreau
On Thu, Oct 07, 2010 at 05:56:49PM -0400, Les Stroud wrote: (...) So, it sounds like, in this case that haproxy itself is the limiting factor. in your case yes (or VMware is, depending on which of the two components is considered necessary). Tomcat outperforms in some ways because it has

Re: Performance Question

2010-10-06 Thread Les Stroud
I did a little more digging and found several blogs that suggest that I will take a performance hit on virtual platforms. In fact, this guy (http://www.mail-archive.com/haproxy@formilux.org/msg03119.html) seems to have the same problem. The part that is concerning me is not the overall

Re: Performance Question

2010-10-06 Thread Hank A. Paulson
What did the haproxy stats web page show during the test? How long was each test run? many people seem to run ab for a few seconds. Was tomcat doing anything for the test urls, I am a bit shocked you got 3700 rps from tomcat. Most apps I have seen on it fail at much lower rps. Raise the max