Performance is often misunderstood... most frequently performance issues come from 2 sources... (a) database access, and (b) file system access (like writing logs). What's important to note... neither one of these is related to a particular language. Caching and data pre-preparation go a long way to resolving these issue.

Keeping processes resident in memory also can be a big improver of performance... you aren't going to get a clean comparison of JSP to straight CGI if you aren't using mod_perl or something similar.

Perl does a lot of jobs well; I think it is much more suited to 'batch' type processing than is java... for example, grab some data out of a database, drop it into an XML file. You then pass that file through a XSLT filter(s); get out some pregenerated HTML, marked up with a bit of javascript. That tends to be seriously scalable... and easy to support and debug. 'Use the right tools for the job at hand' is what I would have told them; sometimes that tool is Java and JSP... but often its not.


In reply to Re: Is perl scalable? by TheOtherGuy
in thread Is perl scalable? by silent11

Title:
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, details, 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, summary, 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.