I learned perl through no formal method, and basically had taken over a large group of cgi-bin perl stuff. The internal site, has, in the last year or so, started housing and displaying a very large amount of content. The code has basically been nothing but maintained by me over the years, with a few features thrown in here and there for whatever reason. As the site's complexity grew, it had been getting very slow (some pages were taking upwards of 4/5 seconds to load)
Now, to the point of this meditation...
It is no surprise that when researching around the web about perl/cgi scripts, one often gets referred to mod_perl. About a week ago i decided to figure out what it was all about and see if it would work for the aforementioned site.
How do you quantify something that installs so easy (I was able to use PPM to install it), and immediately returns such a gain in performance? I feel like i was living in the dark ages running stuff in cgi. After adjusting some of the code to work in a mod_perl environment, the site is running so fast there's barely a load time for any of the pages, and the others at work who use it (non-perl weirdos, geez) are amazed at the gains in performance.
That is all, just a perl/mod_perl success story for my fellow monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Beginner's luck with mod_perl
by BrowserUk (Patriarch) on Jun 12, 2008 at 15:12 UTC | |
by technojosh (Priest) on Jun 12, 2008 at 15:58 UTC | |
by Herkum (Parson) on Jun 12, 2008 at 19:47 UTC | |
by Gavin (Archbishop) on Jun 12, 2008 at 15:30 UTC | |
|
Re: Beginner's luck with mod_perl
by perrin (Chancellor) on Jun 12, 2008 at 16:09 UTC | |
by monarch (Priest) on Jun 13, 2008 at 00:00 UTC | |
by perrin (Chancellor) on Jun 13, 2008 at 00:57 UTC |