Pub/sub implementation in nodeJS

后端 未结 5 1005
滥情空心
滥情空心 2021-01-31 00:23

I\'ve been playing around with different publish/subscribe implementations for nodeJS and was wondering which one would be best for a specific application. The requirements of t

5条回答
  •  不知归路
    2021-01-31 00:40

    Or you can try juggernaut. It using socket.io + redis pub sub middleware + node.js. Support all transports. It help you handler all channel subscribe or publish between client and redis. Juggernaut is scalable but only concern on overhead on redis and it not support authentication (you can do some trick on it). However redis can write/read >150 k per seconds so should be no problem for your case.

    https://github.com/maccman/juggernaut

提交回复
热议问题