AdNova runs a large programmatic advertising exchange. When a user opens a publisher page or app, the exchange must select eligible ads, estimate value, and return a bid decision in real time for advertisers competing in the auction.
| Signal | Value |
|---|---|
| DAU impacted | 120M users across publisher inventory |
| Peak bid requests | 500K QPS |
| Active ad catalog | 40M creatives / campaigns |
| Eligible candidates per request | 5K-50K before filtering |
| End-to-end latency budget | p99 < 50ms |
| Daily impression logs | ~18B events/day |
Design an end-to-end ML system for real-time ad bidding under these constraints. Your design should address:
Assume the exchange receives request context (page, device, coarse location, timestamp), limited user history where allowed, campaign metadata, and real-time budget state. Focus on the ML system design rather than auction theory details, but explain how predicted CTR/CVR/value estimates interact with final bid selection.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.