Walmart went live with Node on Black Friday specifically to handle the higher-than-average volume of business. Things went well. I'm just not buying the idea that Node doesn't "really" scale well in light of real-world examples by well-known businesses that have very high volumes of activity. If they made it work, so can others.
If your main point is that Node isn't the only technology that can scale, then yes. Other technologies can scale. Node is not magical or unique in this regard. I hope no one got the idea that I was ever saying otherwise.
If your main point is that scalability should not be the only reason why a shop chooses Node, then again yes. Node-like any other technology-should be evaluated in terms of an entire context: What are the problems you need to solve? What are the skills you have? What is the budget you're being given? Where do you want to be in 5 years? 10 years?
Node uses a reactor pattern (event loop) architecture, which makes Node opinionated about how things get done. If someone doesn't like that opinion, then Node will always be low on that person's list of preferences. I personally find the idea of asynchronous programming with an event loop both challenging and interesting. I might even call it stimulating. :)
Thanks,
Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
www.dotfoods.com<
http://www.dotfoods.com>
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Sunday, March 18, 2018 10:50 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] [EXTERNAL] Re: Rise of Node
On Sun, Mar 18, 2018 at 9:45 AM, Kelly Cookson <KCookson@xxxxxxxxxxxx<mailto:KCookson@xxxxxxxxxxxx>>
wrote:
I'm only going to say that, based on what I've read online, one reason
they chose Node is because it scales very well.
People can get the wrong impression from others who assert that Node.js
scales well. The programmers who wrote Node.js affirm that Node's
scalability is in reference to the efficiency of handling many sockets in a
single thread, vs other HTTP servers that launch a separate thread for each
socket. Frankly, Node doesn't scale well in the traditional sense. And as
Tim Fathers pointed out there are advantages to launching a separate thread
per socket. And Node's scalability assertions are a red herring.
Even though Node.js doesn't scale well, shops can always fall back to
building their own scalable systems by deploying many Node instances across
server farms and using load balancers as the number of users grows.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/web400<
https://lists.midrange.com/mailman/listinfo/web400>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/web400<
https://archive.midrange.com/web400>.
As an Amazon Associate we earn from qualifying purchases.