[Catalyst] New engine: HTTP::Prefork

Jonathan Rockway jon at jrock.us
Sun Apr 6 17:55:10 BST 2008


* On Sun, Apr 06 2008, Andy Grundman wrote:
> On Apr 6, 2008, at 3:36 AM, Kaare Rasmussen wrote:
>>> little bit.  I was disappointed in the POE engine and came to the
>>> conclusion that POE, while tons of fun to use, is not the right
>>
>> Just when POE went 1.0! Not fair!!
>
> POE rocks, but a single process just doesn't work for Catalyst,
> because the entire time your application code is running, the process
> is blocked.  Multiple processes is really the only way to go for a web
> server.  It may be possible to do some crazy things with something
> like Coro but at a severe cost to performance.

Or Poco::Generic.  That will allow you to (automatically) run Catalyst
in a separate (persistent) process.  Prepare a few of those when the
server starts, and you have an event-based request acceptor that won't
block.

Of course, the ideal situation is to have an application that never
blocks, but that would involve planning on the part of the application
developer.

Regards,
Jonathan Rockway

-- 
print just => another => perl => hacker => if $,=$"



More information about the Catalyst mailing list