This is a simple example rails project that uses redis for a gaming leader board.
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead of jsitarski:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
em_server
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

Leader Board is a very simple gaming leader board.  It will track a top-ten scored in redis for a given leader board of game scores that are persisted in a sql database.  The leader boards can be watched by a fan, which are updated using pub/sub.


To start the eventmachine server for websockets to subscribe to the leaderboard channel, execute the em_server/websocket.rb file with either ruby at command line or in irb by loading the file.