Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Socket.IO Redis Store
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
test
.gitignore
Readme.md
Todo.md
index.js
package.json

Readme.md

Redis Implementation of Socket.IO Store

STATUS: Deprecated. No longer under development.

RedisStore was added to Socket.io core up through v1.0. Please use that instead.

I'm leaving this up for historical reference and because I think there are some fundamentally better approaches in the way this version of a Redis-based Socket.io Store was designed to handle sessions. However, to make this compatible with Socket.io core would take another major internal architectural re-write of core.

More Socket.io goodness

If you like Socket.io RedisStore, you might also be interested in my other Socket.io modules:

  • socket.io-announce - Lightweight infrastructure broadcasting for use with Socket.io RedisStore.
  • socket.io-zero - ZeroMQ dispatch with Redis distributed persistance Socket.io Store.

socket.io-redis

Setup

cd Socket.IO-redis
npm install

Run the Examples

redis-server
redis-cli
> monitor
node examples/simple.js

open http://localhost:8124

Run the Tests

npm test
Something went wrong with that request. Please try again.