Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Cool uses for mod_perl

by merlyn (Sage)
on May 14, 2003 at 00:44 UTC ( #257941=CUFP: print w/ replies, xml ) Need Help??

I'm consulting for a large eastern-US university this week. We've been working with them for a year to get them off mod_cgi and into mod_perl. The server is the core server that handles registrations, tuition payment, and grades, and is all done with CGI, and throwing more and more hardware at the problem.

The biggest problem is the saturday of registration each quarter. It nearly melted down last quarter, but they think they can use the same hardware and move things to mod_perl for this quarter.

As a test, they took a mod_perl server, and just with Apache::PerlRun (which recompiles the code on each hit, but doesn't fork), they were able to easily improve on a custom C program in CGI mode, talking to a database and executing a simple query. A short Perl program replaced the much-more-clumsy C program, and is far faster as well.

They're sold! Just wait until they discover Apache::Registry and points beyond.

Just today, I got a complicated version of their Apache server to compile in DSO mode (except for a weird mod_auth_dce module), and demonstrate a caching reverse-proxy server using their existing CGI base, so they have a migration path for mod_perl. Joy.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Comment on Cool uses for mod_perl
Re: Cool uses for mod_perl
by jacques (Priest) on May 14, 2003 at 14:12 UTC
    Great, perhaps the school will start offering mod_perl classes after your work is done. ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://257941]
Approved by dorko
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-08-22 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (148 votes), past polls