Preparing your design workspace

Loading the problem and your latest saved attempt…

Design an Event Data Warehouse Platform

Design a trustworthy analytics platform that combines operational CDC and product events for fresh and historical analysis.

Problem statement

For this exercise, assume a company needs one analytics platform for product events and changes copied from operational databases. Design the ingestion, storage, processing, and serving paths that let analysts query recent facts within minutes, rebuild years of history, and trace corrected data.

The system must preserve immutable raw evidence, prevent logical duplicates during replay, evolve schemas safely, and expose current and historical dimensions. Exclude interactive OLTP workloads and ad-hoc machine-learning training.

For this exercise, assume producers may ingest only their assigned sources, analysts may query only permitted datasets, and operators alone may launch bounded replay, publish or roll back model versions.

Authenticate each caller, enforce these permissions at data and control entry points, and retain an audit trail of privileged changes.

What to build

  1. Ingest product events and ordered CDC changes from multiple operational databases without losing source identity.
  2. Publish documented fact and dimension models for fresh dashboards and historical analytical queries.
  3. Replay a bounded source range or correction without double counting or silently changing unrelated data.
  4. Detect schema and data-quality violations, quarantine bad records, and expose lineage to the affected model and source.

At scale

  • Sustain 50,000 source records per second at peak and about 2 TB of compressed new data per day.
  • Make the streaming path queryable within five minutes at p95 while completing a full daily reconciliation within 24 hours.
  • Retain three years of raw immutable source data so models can be rebuilt after logic or schema changes.
  • An availability-zone failure may delay freshness but must not lose acknowledged source records or create logical duplicates.