Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: [RFC] Outline of the fast HTTP talk
- Date: Fri, 07 Nov 2008 09:29:27 +0000
- From: John Fremlin <john@example.com>
- Subject: [tlug] Re: [RFC] Outline of the fast HTTP talk
- References: <20081103093743.GB14296@lucky.cynic.net> <87zlkhrreb.fsf-genuine-vii@john.fremlin.org> <20081103141806.GA12339@smtp.office.cynic.net> <87wsfkab9i.fsf-genuine-vii@john.fremlin.org> <20081104005417.GA27170@pragmatic.cynic.net> <490FA7A2.7010700@bebear.net> <877i7kcjy4.fsf-genuine-vii@john.fremlin.org> <20081104110926.GA27318@smtp.office.cynic.net> <874p2mvngy.fsf-genuine-vii@john.fremlin.org> <49112403.7070906@bebear.net> <20081105073650.GG13449@lucky.cynic.net>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
Curt Sampson <cjs@example.com> writes: > 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. In this very artificial test where there is very limited work being done in the Ruby process and processing the HTTP headers can (if I understand correctly) be handled in Mongrels threads, I'm not sure that's true. Of course, it is true in general, and is one reason people use clusters of mongrels on one machine. >>: I could understand this being useful for a CPU intensive task like >>image processing but for a web server this just seems to be extra >>overhead. > > When you're using a CPU-intensive interpreted language such as Ruby and > handling hundreds of requests per second, being "just" a web server > becomes a CPU-intensive task. > >> evented_mongrel[1] thin[2] and ebb[3] can handle multiple requests >> fine without the need for native thread support in Ruby. I hope to get some numbers out for ebb, but I can't promise anything! [...]
- Follow-Ups:
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Curt Sampson
- References:
- Re: [tlug] [RFC] Outline of the fast HTTP talk
- From: Curt Sampson
- [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: John Fremlin
- [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Curt Sampson
- [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: John Fremlin
- [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Curt Sampson
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Edward Middleton
- [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: John Fremlin
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Curt Sampson
- [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: John Fremlin
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Edward Middleton
- Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- Next by Date: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- Previous by thread: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- Next by thread: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links