Node.js + Redis Pub/Sub +


Chat based on Node.js using Redis Pub/Sub +

Simple application based to show Redis Pub/Sub mechanism together with Node.js and

How to get the application running

  • Redis must be installed and running.
  • Node.js must be installed
  • Node.js plugin must be in place (npm install
  • Node.js plugin redis installed (npm install redis).

Start via:

$ node app_redis.js

Fire up your favorite browser and go to “localhost”. Open more browser windows to see it in work.

A non-redis version just based on can be started with:

$ node app.js


This example is based on a Cramp application originally written by Pieter Noordhuis and also based on cramp-pub-sub-chat-demo.