Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Re: [RFC] Outline of the fast HTTP talk



Curt Sampson wrote:
> On 2008-11-05 13:41 +0900 (Wed), Edward Middleton wrote:
>   
>> Does it make much sense having a single request distributing its
>> processing across more then one core?
>>     
>
> Depends on the request. But mongrel processes *all* requests in a
> single Ruby process. Thus, if you have eight cores and are running only
> mongrel, seven of those cores will be idle, no matter what the load on
> your server.
>   

The standard stack uses multiple mongrel process.  Ruby on Rails (the
major application deployed with it) isn't thread safe before 2.2 so
stacks with native thread support like JRuby don't get any advantage
from it anyway.

Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links