~/talk

Managing parallelism using coroutines

Talkat Android Makers 2020 · 2020-04-20..04-21· [kotlin]
slides:none on file

Shows concrete patterns: uses Kotlin coroutines to run parallel network and DB work with uses Retrofit and Room, times where parallel launches cut two-second totals to one, and how structured concurrency, supervisorJob and cancellation semantics, and dispatcher choices actually behave in production. Includes error cases that crash vs ones that retry, test approaches with runBlocking, a caching+timeout pattern that keeps the UI responsive, and production NYT examples so it demonstrates what was built and whether it worked.

AI-written summary · about

  1. 0:00Parallelism with coroutines
  2. 3:30Coroutines simplify concurrency
  3. 8:50Async vs coroutines
  4. 14:18Exception handling in scopes
  5. 20:19Top-level vs nested contexts
  6. 24:40Caching strategies
  7. 32:25Real-world use cases
  8. 36:04Supervisor jobs and cancellation
  9. 40:30NYT production insights
  10. 44:29Q&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.