Strategy to implement a scalable chat server

后端 未结 1 673
野的像风
野的像风 2020-12-24 08:52

I am looking to implement some sort of chat server. And I want it to scale. This seems like a big question, so I guess I expect the answers to be direction pointers, sort of

相关标签:
1条回答
  • 2020-12-24 09:17

    There's a rather good explanation at the Socket.io site. Have a look at

    • http://socket.io/docs/using-multiple-nodes/

    It suggests using Nginx as HTTP load balancer, Node.js clustering (with sticky sessions) and Redis as the message backend.

    I think your goals should be achievable with little to none coding involved, only using the given modules and configuration mechanisms.

    0 讨论(0)
提交回复
热议问题