Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 905 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 905 Bytes

redis-waiting-list

A demonstration project using Redis to maintain a realtime waiting list when participation in a room exceeds a given limit. Read the blog post at http://blog.carbonfive.com/2014/01/17/using-redis-sorted-sets-to-build-a-scalable-real-time-web-waiting-list/.

Installation and running

To run the demo, make sure you have recent versions of Node.js and Redis installed on your machine. Redis needs to be running on the default port with no authentication.

From the project directory, run:

npm install
npm start

You should now be able to connect to the server at http://localhost:8234, follow the instructions from there.

Testing

The project only tests the core waiting list logic. Make sure Mocha is installed on your machine and run:

mocha test