Play2 Scala - Streaming Reactive Mongo with Iteratees

Post on 29-Jan-2015

109 views 0 download

Tags:

description

These slides are part of tech talk for the XII Betabeers Cádiz. It is just an intro to a demo app that features the use of Iteratees along with the Reactive Mongo Driver with capped collections and the Twitter Streaming API over Comet. Part of the talk was an intro to Heroku and how easy it is to deploy Play2 apps on Heroku and how Heroku makes it easy to scale horizontally Play based apps.

Transcript of Play2 Scala - Streaming Reactive Mongo with Iteratees

1. Heroku

Heroku

Add dynos to scale horizontally

Heroku

Power your app with Addons

My life is better with Heroku

2. Play & Heroku

#Create a play Appplay new <app_name>

#Add it to Gitgit initgit add .git commit -m "First deployment"

#Deploy to Herokuheroku creategit push heroku master

Download the Typesafe Activatorto get started

3. A Play + Reactive Mongo + Websockets Apphttps://github.com/47deg/labs-scala-play-mongo-websockets

SHOW ME THE CODE!!!

3. A Play + Reactive Mongo + Streaming Apphttps://github.com/47deg/labs-scala-play-mongo