Examples in using RedisStore in socket.io

前端 未结 4 1930
故里飘歌
故里飘歌 2020-11-29 19:24

I am trying to scale a simple socket.io app across multiple processes and/or servers.

Socket.io supports RedisStore but I\'m confused as to how to use it.

I\

4条回答
  •  离开以前
    2020-11-29 19:58

    I set up a small github project to use redis as datastore.

    Now you can run multiple socket.io server processes.

    https://github.com/markap/socket.io-scale

提交回复
热议问题