1. I guess by saing "I have 100+ of the same cart running" you mean it will be used by 100+ customers. Actualy the only important number is the rate of requests for this CGI in the peek time. In my experience unless you do very trivial stuff Perl CGI doesn't scale for rates much more than 1 request per secound. Of course it is very rough approximation. If you want more your need power of mod_perl. Read its guide for more info.
  2. Flat files doesn't scale for large amounts of data. They will be slow no matter you are using Perl or anything else. So yes, using MySQL (or other SQL database) helps a lot. Probably you may find perfomance of your scripts acceptable once they ported to MySQL so you will not even have to use something like mod_perl.
  3. This question is hard to answer. Really depends on expected load (i.e. the request rate).
  4. First of all I'd like to mention that ASP is not a scripting language. It is the way to embed scripting languages in web pages. And yes, you can use Perl with ASP too. As I understand on Win32 you need IIS and ActiveState Perl. On Unix you can use Apache::ASP with mod_perl. As for Perl vs other scripting languages. I find such discussions quite pointless. IMHO there is nothing you cannot do in Perl you can with other popular scripting languages. And this is true for reverse. Use tool you are most comfortable. If it is Perl then use Perl. If it is, say, PHP or VisualBasic than use them.

--
Ilya Martynov (http://martynov.org/)


In reply to Re: Perl/CGI Performance by IlyaM
in thread Perl/CGI Performance for a Shopping Cart by Sasquire

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.