>>>>> "Andreas" == Andreas J Koenig <[EMAIL PROTECTED]> writes:

Andreas> I'd also like to hear what people are doing when the apache model has
Andreas> scaling problems. We have one problematic project here: we're a
Andreas> gateway and must server a high number of very slow customers to a high
Andreas> number of very slow feeds. Ideally we would run this in an event loop
Andreas> or in coroutines/continuations style, but we have not yet tried that
Andreas> out, mainly because so much of our infrastructure relies on everything
Andreas> being apache. Is there something in apache2 that would make our lives
Andreas> easier? (we have not yet switched to apache2 at all)

Are you already using a reverse-proxy?  Make sure the front lightweight
servers *do* use cache and *don't* use keep-alive to the backend...
your heavy backend will spit the entire response, and go free to service
the next request... your thin front-end will then deliver that response
slowly as needed.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to