Ad Click Aggregation
Design a real-time ad click event aggregation pipeline that tracks clicks, detects fraud, and provides analytics for advertisers.
These requirements and scale numbers are for reference. The AI reviewer will evaluate your design based on the functional requirements and assumptions you define.
🎯 Key Requirements
- •Count ad clicks in near real time, grouped by ad and campaign
- •Filter obvious fraud (bots, repeated clicks)
- •Avoid double-counting on retries (effectively exactly-once)
📐 Scale Expectations
- •10M click events per day (~120/sec average, ~1K/sec peak)
- •1-minute aggregation windows
- •Aggregated counts visible within seconds of the event
Community Submissions (0)