Skip to content

Do I have to use redis for socket.io cluster? #98

@needforspeed

Description

@needforspeed

Hi there,

My goal is to have a nodejs cluster with sticky-session, the idea was from http://socket.io/docs/using-multiple-nodes/#

My use case doesn't require inter node communication. I plan to do a hash on incoming IDs and distribute them to one of the worker. I see the socket.io-redis package from https://github.com/elad/node-cluster-socket.io, but I didn't see why it requires redis.

Can you please let me know the role of redis in the cluster? Can I use a map in the master instead of redis?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions