People usually turn to httperf after being disappointed by ab.

:-)

http://code.google.com/p/httperf/

--
A


On Tue, 12 Jun 2012 15:58:07 +0200, Loic d'Anterroches <[email protected]>  
wrote:

>
>
> On 2012-06-12 10:24, Jason Koch wrote:
>> Hi Mongrel2 users/developers (or Mongrel2j?)
>>
>> Can you confirm if mongrel2 race issues are fixed in 1.7.5?
>>
>> Or probably more likely, I've got something broken.
>>
>> Before I dig too deep with more code, it would be good if anybody can
>> confirm whether these have been fixed already. What I found was a little
>> surprising - at more than 1 (ie: from just two parallel connections),
>> mongrel2 seemed to be failing requests in ab. This is using mongrel2j
>> framework. Concurrency of 1 has a 100% pass rate.
>
> ab is HTTP 1.0 and Mongrel2 keeps long lived connection making ab
> benchmarks fail.
>
> loïc
>
>> Potentially related -
>> https://github.com/zedshaw/mongrel2/pull/111
>> http://librelist.com/browser//mongrel2/2012/2/23/fd-reuse-race-under-high-load/#17b5475fe2b602fdbf8058a506c24783
>>
>> Here's the code I'm using -
>> http://pastebin.com/9pWCvmk9
>>
>> ================ ab results
>> Concurrency Level:      2
>> Time taken for tests:   0.648 seconds
>> Complete requests:      1000
>> Failed requests:        134
>>    (Connect: 0, Receive: 0, Length: 134, Exceptions: 0)
>> Write errors:           0
>> Total transferred:      107384 bytes
>> HTML transferred:       73610 bytes
>> ================
>>
>> Thanks
>>
>> Jase
>


-- 
Arnaud

Reply via email to