Live data from Hacker News

600k concurrent websocket connections on AWS using Node.js (2015)

blog.jayway.com

1–10 of 141 posts

Re: 600k concurrent websocket connections on AWS using Node.js (2015)

#5
Some dude in 2012 did 1 million active connections with whatever node.js and v8 versions we had at that time :) http://blog.caustik.com/2012/08/19/node-js-w1m-concurrent-co...

Edit: I wasn't aware but there was some build-up to it: - 100k connections: http://blog.caustik.com/2012/04/08/scaling-node-js-to-100k-c... - 250k connections: http://blog.caustik.com/2012/04/10/node-js-w250k-concurrent-...

Re: 600k concurrent websocket connections on AWS using Node.js (2015)

#9

What do you need this many connections for?

One possible use is for high traffic websites. For example, StackExchange peaked at 500k concurrent websocket connections back in 2016. [0]

[0] https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar...

Re: 600k concurrent websocket connections on AWS using Node.js (2015)

#10

What do you need this many connections for?

Many kinds of products. One of our log aggregation products in AWS currently sits at 20TB ingress from over 500k connections. This is where slight optimizations start to have an enormous financial impact.
Post reply on HN