0

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.

Navid Shad
  • 738
  • 7
  • 15
  • It's not at all clear what you're asking. – jfriend00 Oct 08 '17 at 18:17
  • I mean, how many current users could the socket.io support? – Navid Shad Oct 08 '17 at 18:24
  • Please edit your question to clearly ask exactly that. 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. – jfriend00 Oct 08 '17 at 18:57
  • the question was edited. what type of os and hardware do you recommend? – Navid Shad Oct 09 '17 at 07:08
  • OS and hardware recommendations are off-topic for stack overflow. There are probably other hardware-focused stacks in the stackexchange family where that would be appropriate. – jfriend00 Oct 09 '17 at 13:36

1 Answers1

1

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

jfriend00
  • 683,504
  • 96
  • 985
  • 979