Re: high throughput perl server

[prev] [thread] [next] [Date index for 2005/05/26]

From: Perrin Harkins
Subject: Re: high throughput perl server
Date: 21:49 on 26 May 2005
On Thu, 2005-05-26 at 14:53 -0400, Erik Aronesty wrote:
> If all you're doing is serving static pages, you're probably not hanging 
> out on the modperl list.
> 
> That being said, thttpd rocks, but it's cgi speed is awfully slow.  
> ppcgid kicks it's butt in that arena.

Multiplexing while running arbitrary perl code that does DBI fetches and
other blocking tasks is not very easy.  That's why most people who need
more speed for static files use some kind of proxy setup (perlbal and
tux do this) to send the dynamic stuff to mod_perl or just put the
static files (i.e. images mostly) on a separate subdomain handled by the
multiplexing server.

> My business partner and I decided on two tactics: he started building a 
> patch to thttpd to run perl scripts natively as opposed to exec'ing, and 
> I built a pure perl web server.  I finished first, so we're using that 
> for now.  But I think that a perl patch to thttpd (including preloading 
> support) is what we'll be using in the long run... it's the right way to go.

I think you'd be better off using a well-tested and supported tool like
mod_perl for the dynamic stuff than trying to replicate it in another
server, but I admit to being biased.

- Perrin

(message missing)

high throughput perl server
Erik Aronesty 02:16 on 26 May 2005

Re: high throughput perl server
theshz 06:43 on 26 May 2005

Re: high throughput perl server
Perrin Harkins 15:28 on 26 May 2005

Re: high throughput perl server
Erik Aronesty 18:53 on 26 May 2005

Re: high throughput perl server
Perrin Harkins 21:49 on 26 May 2005

Re: high throughput perl server
David Nicol 22:26 on 31 May 2005

Re: high throughput perl server
Joel 13:00 on 01 Jun 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52