Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

merlyn (47)

AOL IM: realmerlyn (Add Buddy, Send Message)
Yahoo! ID: realmerlyn (Add User, Send Message)

See my home page [].

Journal of merlyn (47)

Tuesday May 13, 2003
07:42 PM

speedups with mod_perl

[ #12180 ]
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.

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Advocacy? (Score:3, Interesting)

    by WebDragon (1204) on 2003.05.14 8:23 (#20101) Homepage Journal
    Hey, it might be worth asking them if they are willing to write up a description of what changed and how it's working now, as an advocacy piece.

    Purely from a technical standpoint I'd like to know more details about this, 'cuz I'm still a little fuzzy on mod_perl. Something I really need to just grab a tuit and sit down with for a while, methinks.