10 Billion a Day,100 Milliseconds Per: Monitoring Real Time Bidding
summary
AdRoll bids for 42 billion requests/day with a firm 100 ms deadline, using Erlang VM instrumentation and exometer piped to statsd + DataDog and long term HBase. Real incidents: periodic timeout spikes trace to gzip background jobs preempting scheduler threads and are fixed by CPU shielding; another outage is caused when 1.6 billion cookie matches exceed an exchange’s undocumented 1.5 billion limit and trigger throttling. Emphasis is on precise, aggregated metrics, per-node alerts and automated feedback into autoscaling and throttling.
AI-written summary · about
chapters (51)
- 0:00Introduction
- 1:23Exchanges
- 2:14AdRoll
- 2:38First Party Data
- 3:33RealTime Bidding
- 3:54Low Latency
- 5:40Complex Systems
- 7:04Rare Events
- 7:27Bad Things Happen
- 7:40Not So Bad Things Happen
- 8:02The American Dust Bowl
- 9:07The Problem
- 9:29Observing Systems
- 9:50Instrumenting
- 10:56Monitoring
- 11:22Critical Engineering Culture
- 11:58Positive Feedback Loop
- 12:11NASA X15
- 13:07XOMeter
- 15:06XOM Terms
- 16:05XOM Functions
- 18:17Reporters
- 20:09Subscriptions
- 21:03Histogram
- 21:52XO Meter
- 23:14Abnormal System Behavior
- 24:18Case Study Timeout Spike
- 25:00Timeout Spike Graph
- 25:49System Load
- 26:07Network Traffic
- 26:43CPU Shield
- 27:48Exchange Throttling
- 28:21Bad Bid Request
- 28:55Bid Request Differential
- 29:26Data Analysis
- 31:17Lessons Learned
- 32:04Too Much Information
- 33:07Indirect Knowledge
- 33:22Apollo 13 Disaster
- 34:15Instrumentation Monitoring
- 35:08Possible Solutions
- 36:33Possible Strategies
- 37:22Culture
- 38:08Overconfidence
- 38:42Working to the Same End
- 39:18Know Basic Mathematics
- 39:47Tight Coupling
- 41:00Measure
- 41:19Empirical Problem
- 41:47Building Complex Critical Systems
- 42:27Managing Massive Data
related talks
34mHow We Handle Over 1 Trillion HTTP Requests ...
01h 02mAchieving High Load in Advertising Technology
44mHow to Handle Over 1 Trillion HTTP Requests/day: Behind the Scenes of the Ad Tech Industry
11mData science: Next-gen performance analytics
23mReal time Bidding at Scale: A Deep Dive into Sub 40ms Strategies
44mAdvertising at the Speed of Light: DMP Platform
27mBatching Was Yesterday: Real-Time Tracking & Analysis For 100+ Million Visitors
45mReal Time Analytics with MongoDB
