Re: Announce : POEx::HTTP::Server
[email protected] (Andy Jenkinson) Wed, 22 Dec 2010 15:17:32 +0000
| Newsgroups | perl.poe |
|---|---|
| Message-ID | <[email protected]> |
On 22 Dec 2010, at 14:48, Philip Gwyn wrote: > > On 20-Dec-2010 Andy Jenkinson wrote: >> Hi Philip >> >> This sounds really good, and very feature-rich (especially prefork and easy >> streaming). Can you say a bit more about how the concurrency works? I assume >> it's not doing anything clever with threads, and calls to the handlers are >> blocking? > > Concurrency is of the simplistic kind; pause_select() and read_select() on the > SocketFactory. > > Yes, if a handler blocks, all other requests block. POE is > cooperative multitasking; use the preforking if your handlers aren't > cooperating. OK thanks Philip, indeed, preforking is how I do it at the moment as my server has to rely on third party code in the handlers. > -Philip