No description, website, or topics provided.
CSS Java JavaScript Scala
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
app refactor message type logic Oct 8, 2013
conf test redis provider switch Oct 7, 2013
project first commit Oct 4, 2013
public first commit Oct 4, 2013
test first commit Oct 4, 2013
.gitignore first commit Oct 4, 2013 update readme Oct 8, 2013
build.sbt first commit Oct 4, 2013

Scalable chat application with Play and WebSockets

This is a version of the Play websockets chat sample that uses redis pub/sub to allow for a single chatroom that works across multiple nodes.


The application requires a Redis connection. This is configured in applicaiton.conf:

# Redis configuration

Set the URL into an environment variable or delete this line to run Redis locally on the default port.

Once setting up Redis you can run with

$ play run

Running on Heroku

$ heroku create --buildpack
$ heroku labs:enable websockets
$ heroku addons:add rediscloud
$ git push heroku master
$ heroku open