On Mar 12, 12:08 am, Roller8 <[EMAIL PROTECTED]> wrote:

> So, if I'm benchmarking low are there any clues as to where I could begin
> looking?

Just the ones already mentioned above. Have you adjust the number of
mongrels per machine, and are you using ActiveRecordStore for
sessions?

Don't forget that increasing the number of mongrels will require a
change to
nginx.conf...

> Also, I realize that Nginx is supposed to serve up the static
> content which is really fast.  So does that mean that rhtml pages with ruby
> code, html and images will get partially served by mongrels and Nginx or is
> it that once we're in an rhml template that it's 100% mongrels?

In your configuration it looks like nginx is involved in every
requests, and
handled static content all by itself, with no mongrel involvement.

For dynamic content, such as your benchmark, nginx takes the request,
but proxies back to mongrel for each request.

> Hmm, a bit at a loss here.  I'll benchmark my static html again just to be
> sure but I'm pretty certain i scored low there too according to your numbers
> (~4000 req/secs).

4k req/sec is for static content only. I'm sure you'd see similar if
not higher
number for your configuration.

--
-- Tom Mornini, CTO
-- Engine Yard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to