Socket.io: How many concurrent connections can WebSockets handle?

后端 未结 2 639
栀梦
栀梦 2020-12-13 06:02

I am wondering if you have any data on concurrent connections to websockets? I am using Socket.io on Node.js server. How many clients can connect to socket and receive data

2条回答
  •  生来不讨喜
    2020-12-13 06:52

    http://blog.caustik.com/2012/08/19/node-js-w1m-concurrent-connections/

    Check this blog. We use the same principle. Previously our nodejs server will crash after 100 concurrent connections due to hardware constraints. But after we move to Amazon EC2 it is now highly scalable.

提交回复
热议问题