~/talk

Pintrace: A Distributed Tracing Pipeline

Talkat LISA17 · 2017-10-29..11-03· [observability, microservices]
github:mansu
slides:none on file

Pinterest builds a Zipkin-based pipeline called PinTrace that collects spans via local logs → Kafka (using singer) → a Spark job into Elasticsearch, handling ~50,000 hosts and sampling ~1% of traffic. Instrumentation spans Python, Java (Finagle) and mobile; a manual tracing effort earlier cut search latency ~50%, while fixes from traces shave 20 ms (duplicate calls), 5–10 ms (parallelize memcache), and ~100 ms (reorder an ad call). The pipeline works and teams adopt it for debugging, dependency graphs and end-to-end CDN-to-client latency.

AI-written summary · about

  1. 0:00Distributed tracing at Pinterest
  2. 1:14Why tracing became essential
  3. 4:27Manual to automated tracing
  4. 5:55Building Pinpoint and early attempts
  5. 9:28What tracing is and how it works
  6. 10:33Five challenges in tracing systems
  7. 11:14Challenge: Instrumentation across languages
  8. 15:05Challenge: Report and aggregation pipeline
  9. 16:52Challenge: Deploying at scale
  10. 17:35Challenge: Tracing costs with sampling
  11. 18:59Challenge: Low-latency services and blame
  12. 20:06Trace processing and storage
  13. 21:12Customizing Zipkin UI and analysis
  14. 22:58Developer education and adoption
  15. 24:02Understanding request execution
  16. 26:59Debugging with traces and duplicates
  17. 28:29Debugging slow memcache calls
  18. 30:17Tuning systems with trace analysis
  19. 31:19Metrics and traces for debugging
  20. 33:26Service dependency graphs
  21. 34:52End-to-end tracing mobile to DB
  22. 36:40Tracing through CDN for latency
  23. 38:30Future tracing applications
  24. 41:00Lessons from building PinTrace
  25. 43:07Q&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.