Count ad click events at very high volume with low latency
HardSystem design45 minSWEREPro outline
The question
Design a system that counts clicks on ads in near real time, so advertisers see counts per ad per minute and billing gets exact totals. Volume is very high.
What the interviewer is looking for
- Separates fast approximate views from exact billing numbers
- Streaming aggregation with windows and late events
- Exactly-once or idempotent counting explained
- Hot keys and partitioning addressed
- Reconciliation between real-time and batch results
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question type: count ad click events at very high volume with low latency.
Reported in: igotanoffer.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question.