~/talk

Rx Concurrency: A Prescription for Multi-threading

Talkat droidcon San Francisco 2017 · 2017-11-05..11-06· [concurrency, android]
links:none on file

Compares AsyncTask pitfalls to RxJava by showing concrete fixes: replacing 18 lines with four lines of Rx keeps parsing logic unchanged, moves network work off UI by using subscribeOn vs observeOn so tests complete in ~7–8 ms while retries run later, and demonstrates an exponential backoff implemented with map/flatMap/delay on the IO scheduler is an unbounded thread pool. Lifecycle leaks are handled with Disposable or ViewModel; solution separates threads, reduces shared mutable state, and works when cancellation is cooperative.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:23Problems with AsyncTask
  3. 9:26Introducing RxJava basics
  4. 12:34Understanding subscribeOn and observeOn
  5. 21:51RxJava vs RxAndroid
  6. 26:12RxJava schedulers explained
  7. 33:43Handling memory leaks in Rx
  8. 37:42Architecture and best practices
~/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.