Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
So I have been using perl at work for about 4 years now. My level is definately novice. Use it for quite a few things, but one of them always was an internal website.

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

In reply to Beginner's luck with mod_perl by technojosh

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (5)
    As of 2018-07-15 23:37 GMT
    Find Nodes?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

      Results (328 votes). Check out past polls.