On Jan 29, 2008, at 12:43 PM, Kirk Haines wrote:

> On Jan 29, 2008 10:02 AM, John Joseph Bachir  
> <[EMAIL PROTECTED]> wrote:
>> This is an interesting discussion. The conclusions are a bit  
>> confusing
>> to me. John-- you say that your sites get a few thousand hits a day.
>> With only one mongrel, can't the system only serve one request at a
>> time? It seems like, independent of system performance, just the fact
>> that the requests have to be done sequentially would have a big  
>> hit on
>> the performance on the site.
>>
>> Is this not the case, that with one mongrel, only one request can be
>> served at a time?
>
>
> However, for sake of argument, let's just say that the answer is
> "yes".  Only one request can be served at a time.
>
> It becomes a question of how long it takes for an application to serve
> a request.  And for, I think, the _vast_ majority of the typical
> business oriented dynamic web site, if properly built, the answer
> should be "not long at all."
>

Kirk beat me to the answer, but my answer is the same.

While this might be a theoretical problem, it's not an actual  
problem. Particularly since mongrel is only serving up the first  
request of each page view -- the HTML. Apache handles subsequent  
requests for images, javascript, css files, etc.

So even in the rare case of simultaneous page requests, the second  
request would only have to wait milliseconds.

Again, this wouldn't work for eBay, but it works fine for my size  
clients.

-- John

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to