~/talk

RxJava and long-running tasks parallelization

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [concurrency]
links:none on file
slides:none on file

Shows how RxJava actually parallelizes per-user calls to two blocking services (getName and getAge) using flatMap and Schedulers, merges their results with groupBy + collect + take(2), and emits each aggregated {id,name,age} as soon as both parts arrive. Implementation is a few dozen lines (the demo claims about 5–10 real lines for the core logic), uses standard Observables, a custom collector, and a fixed thread pool scheduler, and runs correctly without rewriting the existing synchronous architecture.

AI-written summary · about

  1. 0:00Welcome
  2. 5:22What is RxJava
  3. 10:02Observables and Observers
  4. 17:16Parallel task execution
  5. 20:28Service example solution
  6. 27:54Blocking data issue
  7. 29:16Optimizing with take
  8. 31:22Why RxJava is loved
  9. 35:19Q&A
~/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.