Re: PlRPC vs POE as core P5EE Server
[email protected] (Perrin Harkins)
| Newsgroups | perl.p5ee |
|---|---|
| Message-ID | <[email protected]> |
Stephen Adkins wrote: > I was thinking along the lines of: > > * mod_perl processes are resource intensive > * we want to get done with the Apache child process as soon as > possible so that it can go back to servicing requests > * don't use them for tasks such as waiting on synchronous > network API's I can see why you would think that, but it's not entirely true. The mod_perl processes are only big relative to non-mod_perl Apache processes. They are big because they have a Perl interpreter and some code in them. If you put that interpreter and code in something else (like any daemon module on CPAN), it will be about the same size. > I am guessing that Net::Daemon would be a good package to build on. Either that or Net::Server. Pretty soon, Apache 2 and mod_perl 2 will be the most compelling perl server choice. The ability to replace protocols with perl modules makes Apache 2 able to act as a generic server framework. - Perrin