Your question is Design Real-Time Ad Bidding Ranker. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
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.