Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-31 Thread David Nicol
On 12/24/05, Bob Ippolito <[EMAIL PROTECTED]> wrote: > I don't think any of this is really relevant to mod_perl though, it's bound > to the way Apache works. But if a mod_perl-compatible environment were constructed that did not depend on apache, would that be on-topic for this list? Happy new ye

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-25 Thread Bob Ippolito
On Dec 21, 2005, at 1:26 PM, Jonathan wrote:On Dec 21, 2005, at 12:23 PM, Perrin Harkins wrote: On Tue, 2005-12-20 at 14:42 -0800, Ken Simpson wrote: Alas, if only the Perl interpreter was truly thread safe and did notclone a new interpreter for each thread, we could just usethreads... Those Python

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-22 Thread Jonathan Vanasco
On Dec 22, 2005, at 1:51 PM, Perrin Harkins wrote: You're pretty much describing lighthttpd + FastCGI. However, I don't think it supports SSL and it obviously has no support for any other apache modules or for hooking into request stages (although FastCGI has some things, like authenticatio

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-22 Thread Perrin Harkins
On Thu, 2005-12-22 at 12:22 -0600, David Nicol wrote: > To make a 3TAM system work like mod_perl, never mind the hooks > into the various apache request service stages, every long-running > perl script could be interpreted into one of serveral mp_like interpreters > at the handler layer, or even ev

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-22 Thread David Nicol
> Ideally we would run this in an event loop Anyone is welcome to take over maintenance of http::server::singlethreaded and add apache/mp features to it, then there would be big monolithic perl web-servers. Blocking in the request handlers would remain a problem, but not anything that couldn't be

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-21 Thread Jonathan
I fwd'd this to a friend with commit access to twisted. hopefully i'll get a response on clarification. But from what I understand, the Twisted networking framework works like this: The twisted 'reactor' is single threaded. It uses select by default, you can use poll. The docs suggest

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-21 Thread Perrin Harkins
On Tue, 2005-12-20 at 14:42 -0800, Ken Simpson wrote: > Alas, if only the Perl interpreter was truly thread safe and did not > clone a new interpreter for each thread, we could just use > threads... Those Python people have it good in some ways. Not that good really. As I understand it, the Pytho

Solving mod_perl scalability issues for lots of slow connections

2005-12-21 Thread Ken Simpson
[note: Subject changed from "go crazy with me" -- LoL] > I'd also like to hear what people are doing when the apache model has > scaling problems. We have one problematic project here: we're a > gateway and must server a high number of very slow customers to a high > number of very slow feeds. Ide

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-20 Thread Tagore Smith
Andreas J. Koenig wrote: On Tue, 20 Dec 2005 14:42:12 -0800, Ken Simpson <[EMAIL PROTECTED]> said: > [note: Subject changed from "go crazy with me" -- LoL] >> I'd also like to hear what people are doing when the apache model has >> scaling problems. We have one problematic project here:

Re: Solving mod_perl scalability issues for lots of slow connections

2005-12-20 Thread Andreas J. Koenig
> On Tue, 20 Dec 2005 14:42:12 -0800, Ken Simpson <[EMAIL PROTECTED]> said: > [note: Subject changed from "go crazy with me" -- LoL] >> I'd also like to hear what people are doing when the apache model has >> scaling problems. We have one problematic project here: we're a >> gateway and m