Before Jeremy even had a chance to port Vintage to Rack I swiped the evented mongrel hooks from merb and ran some very rough numbers on my aging MacBook Pro (Core Duo, 2.16). Each set is an ab run of 1000 hits @ 1, 10, and 100 concurrency. No other ab flags were used. I only did one pass, so the numbers are not properly averaged. (Not to mention I ran was ab and merb/vintage on the same dual core machine.) merb/ab.mutex.mongrel:Requests per second: 421.94 [#/sec] (mean) merb/ab.mutex.mongrel:Requests per second: 378.36 [#/sec] (mean) merb/ab.mutex.mongrel:Requests per second: 284.33 [#/sec] (mean) merb/ab.mutex.evented:Requests per second: 444.44 [#/sec] (mean) merb/ab.mutex.evented:Requests per second: 466.85 [#/sec] (mean) merb/ab.mutex.evented:Requests per second: 490.68 [#/sec] (mean) merb/ab.no-mutex.mongrel:Requests per second: 420.70 [#/sec] (mean) merb/ab.no-mutex.mongrel:Requests per second: 378.93 [#/sec] (mean) merb/ab.no-mutex.mongrel:Requests per second: 290.28 [#/sec] (mean) merb/ab.no-mutex.evented:Requests per second: 447.23 [#/sec] (mean) merb/ab.no-mutex.evented:Requests per second: 459.56 [#/sec] (mean) merb/ab.no-mutex.evented:Requests per second: 478.01 [#/sec] (mean) vintage/ab.erb.mongrel:Requests per second: 981.35 [#/sec] (mean) vintage/ab.erb.mongrel:Requests per second: 650.20 [#/sec] (mean) vintage/ab.erb.mongrel:Requests per second: 406.17 [#/sec] (mean) vintage/ab.erb.evented:Requests per second: 1250.00 [#/sec] (mean) vintage/ab.erb.evented:Requests per second: 1338.69 [#/sec] (mean) vintage/ab.erb.evented:Requests per second: 1288.66 [#/sec] (mean) This is for a fresh Merb-0.4.2 project with an Erb template of... "Hello World!". Same for Vintage. I was intrigued that disabling the mutex in Merb (an undocumented feature) actually made stock mongrel performance poorer. Merb was run in production mode, Vintage has no similar setting. Corey On Jan 6, 2008, at 08:18 , ara.t.howard wrote: > > On Jan 5, 2008, at 9:20 AM, Jeremy McAnally wrote: > >> Merb: 56 rp/s >> Rails: 41 rp/s >> Vintage: 534 rp/s > > this doesn't smell right. on even a modest box i would expect merb > and rails, with sessions turned off and no db query, to server > somewhere in the hundreds of rps. on my box both rails and merb > would do at least 4-500 rps. conversely, a simple fastcgi process > running under mod_fcgid expanding a simple template might churn out > something like 2000 rps. > > are you positive you were running in production mode for rails/merb > with both not using sessions and on top of mongrel? if so it's > very impressive, but those number just look like development mode > with sessions and no cookie argument to 'ab' to me... > > on another note vintage looks like a really cool idea - people, > myself included, are yearning for something really simple. > > cheers. > > a @ http://codeforpeople.com/ > -- > it is not enough to be compassionate. you must act. > h.h. the 14th dalai lama > > > >