Question bank

No. 20 · Data pipelines & analytics

Design a website analytics pipeline and dashboard

Advanced45 minStream processing · Batch processing · Counting & aggregation · Data modeling · Hot keys · API design

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough reading

At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.

No primary-source walkthrough covers a Google Analytics style pipeline end to end (tracking script, sessionization, rollups, dashboard queries). The pieces above plus our worked approach fill it in.

  1. HTTP Analytics for 6M requests per second using ClickHouse

    Cloudflare blogEngineering blogPartialFreeVetted

    A real migration of an analytics pipeline to Kafka plus ClickHouse with pre-aggregated tables at millions of events per second. Strong on storage and rollups; no client-side tracking or sessionization.

    Link checked 2026-12-06

  2. Ad Click Aggregator

    Hello InterviewArticlePartialFreeVetted

    Teaches stream aggregation into time buckets, dedupe with impression ids, and a batch reconciliation path, all of which carry over to pageview counting. It is ad clicks, not a GA-style dashboard.

    Link checked 2026-12-06

  3. Plausible: GDPR, CCPA and cookie law compliant web analytics (data policy)

    Plausible AnalyticsDocsBackgroundFreeVetted

    Shows how a privacy-first analytics product counts unique visitors without cookies, using a daily rotating salted hash. Narrow but answers the unique-visitor follow-up concretely.

    Link checked 2026-12-06

  4. Facebook System Design Interview: Design an Analytics Platform (Metrics & Logging)

    Aced (formerly Exponent) (YouTube)Mock interviewMock interviewFreeVetted

    Full mock of designing an event analytics platform with requirements, pipeline and storage discussion. Despite the title label, the candidate introduces himself as a Wealthfront EM; treat it as a mock, not company evidence.

    Link checked 2026-12-06

  5. System design | Microsoft | Real time analytics

    LeetCode DiscussDiscussionInterview reportFreeVetted

    A candidate-posted prompt with concrete scale (a 1 TB usage file every minute) and the analytics queries asked. Prompt only, no solution; good for practicing requirements and estimates.

    Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)

Report a bad or misleading link

Reference audit: 2 of 3 links from the audited catalog kept
  • youtube.com/watch?v=8_5Gve7aNRk Front-end dashboard livestream; little on the ingestion and aggregation pipeline this question is about.

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Candidate reports

Catalog tags (unverified)

Meta (Facebook)QualtricsGoogle

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions