Streams on top of Scala
summary
Compares concrete libraries: Play Iteratees, scalaz-stream, Reactive Streams and Akka Streams, and shows why streaming prevents loading huge bodies into memory so servers avoid double-transfer and temp files when handling large uploads. Demonstrates scalaz-stream’s Process/collection API (scalaz-stream uses Process and collection API) and Akka Streams’ backpressure and threading control (Akka Streams materializer controls threading). Presents a working pipeline moving RabbitMQ messages to WebSockets in about 20 lines (RabbitMQ -> WebSocket pipeline in ~20 lines) and reports production use at Clever Cloud.
AI-written summary · about
chapters (7)
related talks
48mStreaming all the things with Akka Streams
44mScalaz Stream: Rebirth
51mScalaz Streams A Functional Approach to Compositional...
01h 07mA Practical Introduction to Akka Streams
30mLEARN YOU AKKA STREAMS FOR GREAT GOOD!
11mStreaming Libraries Shootout
29mAn Introduction to Scalaz-Stream
49mStream Away with Scala
