Steve Ross
1/8/2008 6:54:00 AM
On Jan 7, 2008, at 10:09 PM, Marc-andre Marc wrote:
> And some amazing numbers:
> [~/projects/thin] ruby benchmark/simple.rb
> server request concurrency req/s failures
> =====================================================
> Thin 1000 1 2219.45 0
Very cool. I just benchmarked (very crude localhost-only numbers) a
form page in Rails that hits a MySQL database. I would have expected
database and template rendering to be a far bigger factor, but here
are the numbers on my mbp (Ruby 1.8.6p111):
mongrel n=1000 c = 1 : 44.45
thin n=1000 c = 1 : 51.29
mongrel n=1000 c = 10 : 40.12
thin n=1000 c = 10 : 51.27
mongrel n=1000 c = 100 : 35.94
thin n=1000 c = 100 : 50.86
Now, I can't serve as many pages as you can (2200+!), but 50r/s is
still over 4 million pages served per day. I'm sure with a "thin
cluster," you can pretty much serve pages at will!