Play2 Scala - Streaming Reactive Mongo with Iteratees

10
Play2 Scala Streaming & Reactive Mongo on Heroku https://github.com/47deg/labs-scala-play-mongo

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

Page 2: Play2 Scala - Streaming Reactive Mongo with Iteratees

1. Heroku

Page 3: Play2 Scala - Streaming Reactive Mongo with Iteratees

Heroku

Add dynos to scale horizontally

Page 4: Play2 Scala - Streaming Reactive Mongo with Iteratees

Heroku

Power your app with Addons

Page 5: Play2 Scala - Streaming Reactive Mongo with Iteratees

My life is better with Heroku

Page 6: Play2 Scala - Streaming Reactive Mongo with Iteratees

2. Play & Heroku

Page 7: Play2 Scala - Streaming Reactive Mongo with Iteratees

#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

Page 8: Play2 Scala - Streaming Reactive Mongo with Iteratees

Download the Typesafe Activatorto get started

Page 9: Play2 Scala - Streaming Reactive Mongo with Iteratees

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

SHOW ME THE CODE!!!

Page 10: Play2 Scala - Streaming Reactive Mongo with Iteratees

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