~/talk

A Tale of Two Monix Stream

Talkat Scala Days Berlin 2018 · 2018-05-14..05-17· [reactive-programming]
slides:none on file

Monix v3 adds Cats integration and a new pull-based stream called Iterant, and contrasts two concrete implementations: push-based Observable with Ack backpressure that uses Tasks/Futures and complex, high-performance flatMap state machines, and pull-based Iterant with batched iterators that favors referential transparency, resource-safe short-circuiting and interpretable code. Benchmarks show Observable often yields higher throughput while batched Iterant narrows the gap; both speak Reactive Streams for interop. Implementation complexity and memory-safety trade-offs determine which to choose.

AI-written summary · about

  1. 0:00Intro
  2. 0:28About Monix
  3. 3:11Observable
  4. 5:40Problems
  5. 6:49Protocols
  6. 10:57Observability
  7. 15:07Poolbase
  8. 16:21State Machines
  9. 19:45Scala
  10. 24:45Iterator
  11. 25:20Iterator vs observable
  12. 27:08Flatmap
  13. 27:57Benchmarks
  14. 28:27Runt
  15. 29:17ThirdRight
  16. 31:56Conclusion
  17. 32:37Reactive Streams
  18. 33:05Implementation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.