Skip to content

Comment on People call "Node.js handles 10k connections" a magic. Erlang easily does 1MM

Comments

Moral of the story first: developers, please take a look at Erlang.

I cringed when I read the story. Someone calls Node.js a magic when it handles 10k connections. Erlang handles 1MM connections without sweating.

Why? Because around two years ago I have created an Erlang server which does broadcasts of ~500bytes message to up to 1MM of concurrent users with a end-to-end delivery delay of at most 1.5 seconds, using ONE physical server and ONE application server (i.e. just one Erlang VM instance)!

Proof: https://www.erlang-factory.com/conference/Krakow2011/speaker...

TL;DR. Node.js is not magic. It's not as scalable nor as robust compared to Erlang.

I completely agree with you. The problem as I see it is that basically the whole dev world knows javascript to some degree, heck even if they don't its a pretty basic language and similiar to most others you know. Erlang, however, is its own thing, completely different in terms that most imperative lang/oop devs are used to, and means you can't just install erlang and go, which is largely the case with node.js

Yes, good point. But I cringe when people say that "10k connections is a magic"! There are three things which make Node.js popular: - ease of starting (especially with things like Meteor) - one language for server-side and client-side - npm

But in terms of scalability, robustness and network performance it is inferior

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.