We use websockets for our clients because we care deeply about a fast, responsive user experience. At the Play! Framework meetup (based near us in Mountain View, CA), we presented an introduction to using Websockets with Play!. We cover some relevant background into alternatives, benchmarks, and how Websockets work within Play!. If you were not able to come, here is the presentation (a video of the talk is here):
Additionally, here’s some relevant resources that may help:
- Play! Websocket overview
- Play! Iteratee overview
- Our echo Websocket benchmarks (WSS vs HTTPS)
- Excellent guide to understanding Iteratees / Enumerators (and more!)
- In lieu of complete documentation, Play! source for Iteratee.scala and Concurrent.scala
- Play! Websocket chat example