Rapid Backend Construction with Reactive Streams
summary
Shows building a production Scala backend using Akka Streams to model request handling as composable reactive pipelines with dynamic backpressure, asynchronous database and external API calls, and configurable per-stage buffers. Describes achieving 10k requests/sec on a single node with full CPU utilization in production for a year, and notes limitations: no built-in clustering, harder hotspot debugging, and the need to tune buffers or add parallelism for larger scale.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 0:51Backend architecture evolution
- 3:01Synchronous model problems
- 4:06Async programming challenges
- 6:19Reactive streams
- 8:06Stream vs async code
- 10:59Backpressure strategies
- 13:59Reactive Streams spec
- 15:04Akka Streams
- 18:17Self-balancing pipeline
- 22:00Reactive streams use cases
- 23:35Akka Streams in production
- 24:40Q&A
- 37:28Threading and scalability
- 38:56Performance results
