Skip to content

acruikshank/redis-waiting-list-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A demonstration project using Redis to maintain an online waiting list when participation in a room exceeds a given limit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published