Kind of design round

High-volume events and time series system design interview questions

Companies that collect readings, clicks or transactions all day ask how you take in a flood of small writes and still answer questions about them.

The round tests the write path (batching, partitioning, back pressure) and what you keep: raw events, rollups, or both. If the numbers bill a customer, expect questions on counting exactly and on replaying a bad day.

Common problems

Three problems to practise

The company version will be about their own product. These are the shapes it usually takes.

  1. Problem 1 · Smart meters, sensors, apps that report in

    Take in readings from millions of devices

    What makes it hard

    • Bursts when every device reports on the hour
    • Late, duplicate and out-of-order readings
    • Keeping years of data without paying for it all at full detail

    Follow-ups to expect

    • “A device sends a day of readings at once after being offline. What happens?”
    • “Where do you store raw readings, and for how long?”
  2. Problem 2 · Usage billing, ad clicks, anything charged per use

    Count events accurately enough to bill on

    What makes it hard

    • Exactly-once counting through a stream with retries
    • Windows and late data
    • A replay after a bug, without double charging

    Follow-ups to expect

    • “You find a bug that counted wrong for three days. How do you fix the bills?”
    • “When is an approximate count good enough?”
  3. Problem 3 · Monitoring, spend insights, any "last 30 days" chart

    Dashboards and alerts over live data

    What makes it hard

    • Rollups by minute, hour and day
    • Too many series to keep in memory
    • Alerts that still fire when the rest of the system is struggling

    Follow-ups to expect

    • “A chart over a year has to load in under a second. How?”
    • “How do you stop one noisy customer slowing everyone down?”
Where people lose marks

Common mistakes

  • One database row written per event, with no batching
  • No plan for late or duplicate data
  • Keeping everything raw, for ever
  • Mixing the write path and the query path on one store
Free library

Revise these first

By company

Companies with this kind of round

Each page has three problems close to what that company builds.

Planned · per company

The plan and prompts are free now. The paid part is planned: five timed mocks of their design round, by voice, on a whiteboard, with an interviewer who pushes back and scores you against the bar for your level. £19 / $24 / €22 per company, once, not a subscription.

Your move · one question

Would you pay for it? Tell us on the waitlist.

Join the waitlist

One email when it opens. We keep only your email address and your answer.

Got an interview coming up?

Add the company you are interviewing at and get their stages, in their order, in about a minute.