Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Tough question....

You have several things mixed up, and I think it's best to separate them out.

CGI
Common Gateway Interface is a standard way that web servers can run programs, collecting input from web-forms, and returning results to the browser. It is slow but stable, and almost all servers support it. Most people use Perl when using CGI, but you do not have to, you can use virtually anything you want, e.g. BASIC, shell or c.
In-Process / embedded architectures
There are several embbedded technologies for web servers. Here the language interpretor is embedded into the web server, which makes it much faster, but it's more complex to use. Examples include ASP (where you can use one of several languages, e.g. Visual BASIC or Perl), and some with only one language, e.g. PHP/PHP, JSP/Java, mod_Perl/Perl.
Perl
Perl is a high-level language which is fast to develop in, and can run as a CGI script on a wide range of web servers and a wide range of operating systems. It can also be made to run much faster by using ASP or the mod_Perl interface. The CPAN library of pre-written code contains code to do most things you could think off - no other language has anything on this scale...

Returning to your questions. CGI/Perl is not the fastest way of doing things, but it's pretty good for low to medium volumes. If you have written the code well, it can probably be converted from CGI to mod_Perl, in which case it will run much faster.

There are many advantages of using a DB for storing data, and it should be easy to export data using Perl into any simple output fromat. Proper database systems have all the advantages of file-locking, multi-user capability, and potentially higher speeds. Examples include: MySQL, PostgreSQL or even DBD::SQLite all should be easy to use from Perl.

A basic Linux/Apache/Perl box with a 1GHz+ processor and 1Gb RAM, will run very quickly, and be adequate for most needs, but cost more than USD15/month. You may find that at your suggested price range your options are more limited.

One word of caution, you say you are a novice, in which case I would urge extreme caution if you are going to be moving money about. Web security is easy to get wrong, and you may be better off using code that someone else has written, and has been scrutinised by the public in general. I don't claim to know of such software.

Additional links to read:

Update: Extra Links added, minior typographical changes and corrections.
ajt

In reply to Re: Perl/CGI Performance by ajt
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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (5)
    As of 2014-09-24 02:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (244 votes), past polls