Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Socket.IO Redis Store

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Readme.md
Octocat-spinner-32 Todo.md
Octocat-spinner-32 index.js
Octocat-spinner-32 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.