From: Sascha Ebach Date: 2006-01-21T21:37:27+09:00 Subject: Re: [ANN] Mongrel 0.1.1 -- A Fast Ruby Web Server (It Works Now, Maybe) > One thing, could you do the same test against WEBrick using the > examples/webrick_compare.rb script? Just for my info. You'll need to > > /dev/null the output to make the test more fair. Alright, here you go. first Mongrel: ab.exe -S -n 10000 http://localhost:3000/test Concurrency Level: 1 Time taken for tests: 19.437500 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 520000 bytes HTML transferred: 70000 bytes Requests per second: 514.47 [#/sec] (mean) Time per request: 1.944 [ms] (mean) Time per request: 1.944 [ms] (mean, across all concurrent requests) Transfer rate: 26.08 [Kbytes/sec] received and WEBrick started with $ ruby -Ilib examples/webrick_compare.rb 2&>1 /dev/null & ab.exe -S -n 10000 http://localhost:4000/test Concurrency Level: 1 Time taken for tests: 118.62500 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 1730000 bytes HTML transferred: 60000 bytes Requests per second: 84.70 [#/sec] (mean) Time per request: 11.806 [ms] (mean) Time per request: 11.806 [ms] (mean, across all concurrent requests) Transfer rate: 14.31 [Kbytes/sec] received These results are very promising. I bet if you can manage to make a native win32 version the results will double or triple. A 5 times boost will even make Cygwin a viable development environment. I suspect that the win32 version will even be fast enough for production. -Sascha PS: With output on the Cygwin/WEBrick combo will drop below 10 req/s on my box.