Since both Node and Perl (and PHP as well, since you brought it up) are interpreted instead of compiled (there is lots of discussion about what this actually means, but for this discussion, we're talking about the same thing.), the only advantage you will see is based in the native optimizations in whatever is running the code.

Unless your code and/or data access/storage is horribly inefficient, any of the mentioned technology should be able to scale to a reasonable number of hits an hour with no trouble on reasonable hardware. In my experience, usually for larger applications, your slowdown starts with the data, not the code manipulating it. Every time you have to fetch data, you have to tickle the disk. Disks are the bottleneck for most every operation done on the machine under normal usage.

This whiffs of premature optimization. Unless you're planning something that's going to need to serve more than 10000 hits per hour (a number I've just pulled from my nethers, mind you) on launch, work in whatever you're comfortable with. By the time you start scaling past that, you'll have a better understanding of what you've done wrong with the first iteration and how to improve it. Remember, there are VERY large enterprise sites running on PHP and Perl, as well as Node. Wikipedia and Facebook run on PHP and have enormous user bases. Slashdot, Amazon, and Craigslist run on Perl. LinkedIn and Uber are on Node.

In short, unless you're in an exceptional circumstance where you're going to be launching to a global audience that will actually be funneling large volumes of traffic very shortly after launch, don't sweat it. Focus on maintainability. If you have to struggle to issue an update, or build a brittle stack because you're still ramping on the chosen tool, you're going to have more problems than how many hits you deliver.


In reply to Re: Perl vs Angular-Node by jellisii2
in thread Perl vs Angular-Node by james.hans

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.