~/talk

Structured Concurrency: The paradigm shift

Talkat droidcon London 2025 · 2025-10-30..10-31· [concurrency, software-architecture]
slides:none on file

Explains structured concurrency with concrete Kotlin coroutines patterns and pitfalls: use coroutineScope/nursery semantics so child coroutines cancel and propagate exceptions to the parent, avoid launching on a shared scope or using supervisor jobs or withJob which are flagged as antipatterns. Shows how flows use buffer and flatMapMerge to start children coroutines and how cancellation can save real money in requests (example: SkyScanner style search). Highlights 100 requests × 10 subprocesses = 1,000 coroutines, async cancellation propagates to parent scope, don’t launch coroutines directly on a scope.

AI-written summary · about

  1. 0:00Structured concurrency intro
  2. 1:09Core concepts
  3. 3:59Starting subprocesses
  4. 5:23Breaking patterns
  5. 7:10Five key problems solved
  6. 8:16Cancellation benefits
  7. 11:07Exception handling
  8. 14:20Anti-patterns in exceptions
  9. 16:07Config management in coroutines
  10. 17:13Observability in debugging
  11. 18:37Clarity and control flow
  12. 23:12Awaiting processes
  13. 25:01Closing resources
  14. 27:30Summary
  15. 28:38Q&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.