~/talk

ANR overview at Uber + Leveraging ApplicationExitInfo API

Talkat droidcon San Francisco 2022 · 2022-06-02..06-03· [android, observability]
speakerdeck:yhartanto
links:none on file
slides:none on file

Uber describes concrete fixes and tools: bitmap processing and heavy IO moved off the UI thread, RxJava’s blockingGet is banned after causing ANRs, and deadlocks show main thread waiting on background thread (thread 1 vs thread 22) in real traces. Detection uses Play Console (delayed), an open-source-inspired custom ANR detector (noisy but fast metadata), and ApplicationExitInfo API on Android 11+ which gives OS-backed exit reasons and full stacks. Lint checks, a Flipper Rx profiler that crashes on long ops in debug, and backend classification prove effective.

AI-written summary · about

  1. 0:00Introduction to ANR challenges
  2. 3:57Long-running method ANRs
  3. 5:42Broadcast receiver ANRs
  4. 7:08Deadlock ANR cases
  5. 8:33Detecting ANRs at Uber
  6. 12:26Leveraging ApplicationExitInfo API
  7. 14:32Preventing ANRs in practice
  8. 19:10Monitoring ANR baselines
  9. 20:57Open-source ANR tools
  10. 21:58Q&A and resources
~/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.