Blueprint — system design

Types · drag to reorder

Design an ad click aggregator

Design the system that counts ad clicks and shows advertisers how many clicks each campaign got, minute by minute, within about a minute of them happening. Ad serving and targeting are out of scope.

Requirements
  • Record every click on an ad
  • Show per-campaign click counts bucketed by minute
  • Dashboards are no more than a minute behind
  • A count can be recomputed if the pipeline had a bug
Scale
Clicks
10B per day
Campaigns
10M
Dashboard freshness
within a minute
Retention
2 years

Draw the design on the board, fill in Your answer, then submit.

Loading board

Loading board