~/talk

Mobiconf 2018: Fernando Cejas, IBM

Talkat Mobiconf 2018 · 2018-10-04..10-05· [android, concurrency]
slides:none on file

Processes two 30 MB Wikipedia XML files (about 200k words) and measures real timings: single-thread run takes ~22 seconds, two threads drop to ~13–14 seconds, RxJava and Kotlin coroutines offer modest gains but reveal hidden costs. Diagnosis finds ~4s per-file parsing I/O, garbage‑collection churn from many short‑lived objects, and contention depending on concurrent hash map vs synchronized map. Final approach splits work finer, reuses threads and reduces allocations to get ~30% improvement — measure, then optimize.

AI-written summary · about

  1. 0:00Start
  2. 6:17A Difference between Parallel and Concurrent
  3. 10:31Race Condition
  4. 12:56Why Multi-Threading
  5. 18:09Threads and Locks
  6. 36:35Reference Counting
  7. 41:21Always Use the Right Tool for the Right Job
~/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.