Tame Your Data with Akka Streams
summary
Live code shows Akka Streams parsing gzipped CSV files into ByteString lines using framing (delimiter '\n', max 128, allowTruncation true), mapping lines to domain readings via non-blocking futures, handling invalid values with a dummy -1, grouping pairs and computing averages with mapAsyncUnordered for unordered parallelism, and persisting results to Cassandra. A custom graph DSL balancer runs multiple process-single-file flows concurrently; the pipeline materializes on an ActorMaterializer and completes successfully with rows visible in Cassandra.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:43Recap What Stream Processing Is
- 2:21Back Pressure
- 3:51Characteristics of Arca Streams
- 7:17Live Coding
- 12:53Line Delimiter
- 16:06Stream Converters
- 18:59Average Computation
- 34:48Implement a Simple Load Balancer
- 36:37Balanced Stage
related talks
01h 07mA Practical Introduction to Akka Streams
35mPractical Reactive Streams with Monix
48mStreaming all the things with Akka Streams
32mPRACTICAL REACTIVE STREAMS WITH MONIX
30mLEARN YOU AKKA STREAMS FOR GREAT GOOD!
31mSTREAM DRIVEN DEVELOPMENT - DESIGN YOUR DATA PIPELINE WITH AKKA STREAMS
01h 20mAkka Streams for Large Scale Data Processing
28mStreams on top of Scala
