Search code examples
node.jssocket.iolivechat

Using Nodejs and Socket io


I want to make an 'online chat module' for a supporting website. the project must be done by nodejs. so I want to use socket io library for this purpose. how many current users could the socket.io support? what type of os and hardware do you recommend? thank you.


Solution

  • It depends upon your server OS, configuration, hardware, network and traffic profile, but there are socket.io configurations that support tens of thousands of connections so 100 should be easy.

    See these for more info:

    Maximum concurrent Socket.IO connections

    Realtime node.js stress test with socket.io

    Node.js with 1M concurrent connections