A Practical Introduction to Akka Streams
summary
Live-codes a Scala CSV importer that uses Akka Streams to stream gzipped files, split lines with framing.delimiter, parse lines with futures, batch pairs to compute averages, and write results to Cassandra via async flows. Uses mapAsync and mapAsyncUnordered for controlled parallelism, a Graph DSL balancer to process N files in parallel, and the actor-system materializer to run the graph. It compiles and runs; note inserts scale as concurrentFiles × concurrentWrites, not just one setting.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 4:15Distributed Streams
- 6:08Example Project
- 15:50Stream Files
- 16:40Flatten Sources
- 20:10ParseLine
- 21:45MapAsync
- 23:00Readings
- 24:40Average
- 32:50Balancer
- 42:10Execution Context
- 43:42Actor System Materializer
- 44:53Implicit Materializer
- 47:09Running
- 48:11Custom flows
- 48:54Outro
related talks
01h 07mA Practical Introduction to Akka Streams
42mLearn you Akka Streams for great Good!
43mReactive Integration with Akka Streams and Alpakka
35mPractical Reactive Streams with Monix
48mA Practical Introduction to Akka Streams
32mPRACTICAL REACTIVE STREAMS WITH MONIX
46mAkka Streams & Reactive Streams in action
44mPatterns for Streaming Telemetry with Akka Streams
