Preparing your design workspace

Loading the problem and your latest saved attempt…

Design an Analytical Data Dashboard

Design a trustworthy dashboard platform that derives versioned metrics from event data and serves fast, reproducible slices.

Problem statement

For this exercise, assume product teams need a dashboard that shows daily and near-real-time metrics derived from an existing stream of versioned business events.

Authorized analysts define versioned metrics from approved dimensions and measures, publish dashboard configurations, and view filterable time-series and summary tiles. Event delivery may be duplicated, late, corrected, or temporarily incomplete.

Every dashboard response must identify the metric definition, data interval, freshness watermark, and completeness state so users do not mistake partial data for a final value. Design the modeling, computation, publication, and query paths.

Ad hoc SQL, event collection SDKs, and transactional product workflows are outside scope.

What to build

  1. Authorized analysts can define and publish immutable metric versions from approved measures, dimensions, and time semantics.
  2. Authorized teams can publish versioned dashboard configurations whose tiles reference compatible metric versions and bounded filters.
  3. A viewer can load a dashboard time range and filters and receive reproducible tile results with version, freshness, and completeness metadata.
  4. The platform incorporates late or corrected events without double counting and lets operators rebuild affected metric intervals with auditable progress.

At scale

  • For this exercise, assume 50,000 published dashboards, 500 versioned metric definitions, two billion source events per day, and event bursts of 200,000 per second.
  • For this exercise, support 20,000 dashboard reads per second at peak and return common 30-day dashboards within two seconds at p95.
  • For this exercise, make 99 percent of accepted events visible in provisional metrics within five minutes and accept corrections for events up to 24 hours late.
  • For this exercise, retain immutable raw events for 90 days and versioned daily aggregates for three years; published metric state must survive a single-zone failure.