Beyond the Buzzword: A Reactive Web Application in Practice
summary
Builds a small reactive web app using Play Framework and Akka actors that accepts user input over a WebSocket, calls the Twitter Search API via Play WS as a Future, parses JSON and returns tweet text to the browser. Adds a Circuit Breaker configured with max failures 2 and 5s timeouts, demonstrates trip, half‑open and recovery by forcing 1ms timeouts, and shows that the breaker prevents cascading failures. Shows load testing with Gatling and deployment options (Clever Cloud, Lightbend conductor).
AI-written summary · about
chapters (11)
- 0:00Introduction and history
- 2:39Cloud and microservices
- 9:17Reactive principles
- 11:02Hardware trends
- 16:49The reactive approach
- 18:05Setting up the application
- 25:02Connecting to Twitter API
- 29:40Failure handling and pipes
- 37:08Circuit breaker pattern
- 44:27Deployment strategies
- 47:28Load testing and conclusion
related talks
57mBeyond the buzzword: A reactive web application in practice
43mBeyond the buzzword: a reactive web application in practice
52mBuilding Reactive Apps
42mReactive applications with WebSockets
02h 45mReactive Revolution
47mReactive Spring
38mBest Practices in Reactive Application with Java 1.8 and Play
01h 21mReactive Web Applications
