~/talk

Practical Reactive Streams with Monix

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [scala, reactive-programming]
slides:none on file

Processes gzipped CSV lines with Monix Observables, parses each line into a domain Reading Task, groups readings by ID in pairs, computes averages (invalid pairs yield -1), and writes results concurrently to Cassandra; the pipeline composes transformers (parseFile → average → storeReadings) and runs as an Observable consumed with forEachParallel. Implements mapAsyncOrdered using bufferTumbling + Task.gather to parallelize while preserving result order. Example runs end-to-end (few-second run), but scheduler/ExecutionContext choice affects performance and ordering tradeoffs.

AI-written summary · about

  1. 0:00Introduction to reactive streams
  2. 3:53Introduction to monix
  3. 6:34Parsing CSV files with monix
  4. 12:31Processing data and computing averages
  5. 18:05Assembling the pipeline
  6. 22:56Execution and thread management
  7. 27:13Ordering and closing thoughts
~/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.