Skip to content

Add Redis support for multi-server scaling #4

@Aaromal2

Description

@Aaromal2

Currently room state is stored in memory. This means it only works with one server.

Add Redis adapter support so quick-socket works across multiple servers.

What needs to be done:

  • Integrate socket.io-redis adapter
  • Optional config in quickSocket.init()
  • Update README with Redis usage

Example:

quickSocket.init(server, { redis: { host: 'localhost', port: 6379 } })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions