Re: Concept for an Apache/mod_perl Perl Application Server
[email protected] (Bas A . Schulte) Tue, 26 Nov 2002 22:30:03 +0100
| Newsgroups | perl.p5ee |
|---|---|
| Message-ID | <[email protected]> |
Matt, On Tuesday, November 26, 2002, at 10:08 PM, Matt Sergeant wrote: > On Tuesday, Nov 26, 2002, at 17:41 Europe/London, Bas A.Schulte wrote: > >> I did take a look at POE, and still do now and then, but I just don't >> seem to get it's concepts to actually get something done on top of it. >> Recently I tried one of the examples on poe.perl.org >> (http://poe.perl.org/?Poe_cookbook/Web_Server_With_Forking) briefly >> but it wasn't very fast, even for NOOP requests. > > POE isn't terribly fast, because it has to do a lot of management on > top of its server system. Where you gain is in sharing - you don't have > to jump through hoops to share data (except in a multi-server system). I've really tried several times to get into POE because I've read good things about from people whose opinion I value (you're actually one of them). My personal gripe with POE is: I don't get it! Wheels? Heaps? Kernel? I'm an OO guy: I like a good object model, I like Sun's java coding guidelines, I like verbose. I hate $_, I loathe 6 lines regexes. It might be very possible to put an OO layer on top of POE to create an app server but for the life of it, I don't know how. I've done that on top of Net::Server::PreFork which gave me a nice and easy OO layer to work with, but if I look at the preforking server POE example (http://poe.perl.org/?POE_Cookbook/Web_Server_With_Forking), I don't even know where to begin. I guess POE and I have an impedance mismatch somewhere... Just my 2 cents.