~/talk

Client Tracing At Scale

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

Large app tracing pipeline that links AndroidX.tracing spans and counters to Perfetto UI, a custom Trace SDK that runs in-process and compresses traces to about 130 KB per minute, and a ghost-trace CLI that produces sharable URLs. Production sampling is tiny but yields real P99 cases; local Perfetto captures system-level metrics. Traces get indexed via Perfetto’s SQL model to extract features and latency metrics, fed into automated performance tests (hundreds of iterations, commit-vs-base comparisons) to detect regressions before release.

AI-written summary · about

  1. 0:00Introduction to client tracing
  2. 1:31Performance challenges and rewrite
  3. 4:39Why tracing matters for performance
  4. 6:06Android tracing tools overview
  5. 9:16Bootstrapping tracing with attributed schedulers
  6. 10:59System stats and state tracking
  7. 12:47UI metrics and page load framework
  8. 14:53CLI tooling for developers
  9. 16:41Scaling tracing in production
  10. 18:47Trace SDK for production tracing
  11. 22:45Making sense of collected traces
  12. 24:51Querying traces with SQL
  13. 26:59Trace dashboards and indexing
  14. 28:25Automating performance testing
  15. 31:18Tracking metrics over time
  16. 32:43Key takeaways and conclusion
  17. 33:46Q&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.