Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Something like Tomcat for Perl

by tent8f (Initiate)
on Oct 17, 2006 at 09:32 UTC ( [id://578720]=note: print w/replies, xml ) Need Help??


in reply to Something like Tomcat for Perl

I've been looking into this myself. Why are there no multi-thread Perl-centric application servers (ala Java's Tomcat) ?
mod_perl is not a realistic option for me because some of our customers use IIS / ISA proxy server.
What would be ideal is a standalone multi-thread webserver written in Perl that could be reverse-proxied using Apache or IIS/Proxy Server. I want to avoid the startup overhead of CGI, and the non-portability of mod_perl. Having a standalone HTTP app server that's proxied seems to be the way to build scalable web apps.
At least according to these guys...
The web is a pipe
fastcgi-scgi-and-apache-background-and-future
Is building a light-weight multi-threaded web-server in perl really that hard ?

Replies are listed 'Best First'.
Re^2: Something like Tomcat for Perl
by shmem (Chancellor) on Oct 17, 2006 at 11:23 UTC
    Why are there no multi-thread Perl-centric application servers?
    Maybe because there was no need to do that?

    I'm not aware of any out-of-the-box drop-in replacement for tomcat, but I guess the POE framework provides the bits for that, not using threads but cooperative multitasking. On the POE projects page there is Philip Gwyn's Just Another Application Server. Have a look. There's PAS also - a Perl Application Server.

    On CPAN you find Net::Server, a generic Perl server engine, HTTP::Server::Simple, a simple standalone Perl HTTP server, templating engines, parsers and so on... it's all there, so it shouldn't be hard to do it. But somebody has to put the bits together.

    Happy assembling ;-)

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found