Detecting Service Degradation and Failures at Scale through Distributed Log Processing
summary
PayPal’s logging system centralizes per-region logs with an implicit root-transaction format, instruments frameworks to emit status/duration/metadata, and runs a Kafka + Hadoop pipeline that handles 10 trillion messages/day (about 1.3 PB/day uncompressed) and about a million msgs/minute, sampling and collapsing to roughly reduced to 8M traces for tracing. Alerts and percentiles derive from every log line as metrics; end-to-end latency to metrics is typically one to ten minutes, and the design accepts occasional lost logs rather than stealing compute or disk from production.
AI-written summary · about
chapters (11)
- 0:00Introduction to scaling
- 1:14System scale and challenges
- 3:32Monitoring strategy
- 6:30Logging and instrumentation
- 11:55Log processing pipeline
- 15:20Pipeline optimization
- 19:14Sampling and data strategy
- 24:01Generating metrics and traces
- 26:59Detection and response
- 29:09Learnings and best practices
- 33:53Q&A and closing remarks
related talks
28mFrom Fragmented Logs to Unified Insights: Scaling O11y
33mDistributed Tracing - All The Warning Signs Were Out There!
31mMy Logs Cost More Than My Services
30mRunning Highly Scalable Tracing, Logging, Monitoring & Metric System in Production
28mFrom Chaos To Clarity: Scaling Observability at Dropbox With Centralized Logging Solution
27mBeyond Logs: Real Time Anomaly Detection with Machine Learning
29mMaking Sense of Chaos: Operational Visibility in Distributed Systems
37mA Needle in a Haystack: How to Find a Threat Hidden in Over 6 Billion Logs Per Day
