Design an Ad Click Aggregator

Advanced · 27 min read · High-Level Design, Case Studies: Advanced

Stream aggregation, exactly-once counting and reconciliation.

This is an Advanced lesson, part of Premium. What it covers:

  • 1. Clarify the problem
  • 2. Requirements
  • 3. Capacity estimation
  • 4. API
  • 5. High-level design
  • 6. Deep dives
  • 7. Failure modes
  • 8. Trade-offs summary
  • 9. What interviewers look for
  • Interview questions
  • Practice
  • Further reading

Previous: Design a Payment System · Next: Design a Distributed Job Scheduler