600k concurrent websocket connections on AWS using Node.js (2015)
1–10 of 141 posts
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#2Interesting details; it would be nice to see how those ulimit/networking numbers were arrived at.
The title should have [2015].
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#3Would be nice to rebench with the new websocketstream API!
https://github.com/ricea/websocketstream-explainer/blob/mast...
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#4So 1/4 of what Elixir/Erlang can handle, but more difficult and less reliable:
https://phoenixframework.org/blog/the-road-to-2-million-webs...
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#5Some 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)
#6What do you need this many connections for?
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#7So 1/4 of what Elixir/Erlang can handle, but more difficult and less reliable: https://phoenixframework.org/blog/the-road-to-2-million-webs...
Both articles from 2015.
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#8What do you need this many connections for?
Lots of people using your site.
Re: 600k concurrent websocket connections on AWS using Node.js (2015)
#9What 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)
#10What 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.