Skip to content

Design a Product Analytics System, stage 1 of 9: model

What one chart has to read

Use 86,400 seconds a day and 1 KB an event. A large team sends 300 million events a month, and its daily-signups chart filters on two properties over 90 days.

System so far· 5 parts
123CLIENTCustomers' appsEDGECapture APIDATABASEPostgresSERVICEQuery serviceCLIENTCustomers'dashboards

Select a component to see what it is responsible for and which state it owns.

  1. 1Customers' apps → Capture API: Batches of events
  2. 2Customers' dashboards → Query service: Chart request
  3. 3Query service → Postgres: Teams and saved charts

What you need to know

0 of 3 checks done
  1. Work it out

    2 billion events a day. About how many events a second on average?
    per second