Separated Storage/Compute Cloud Data Warehouse Query Engine
Design a BigQuery / Databricks Photon-style multi-tenant analytical SQL control & metadata plane featuring immutable columnar micro-partitions in object storage, MVCC snapshot metadata pruning, ephemeral NVMe compute-cache rings, and instant ACID table commits.
Functional Requirements
- FR-1POST /v1/tables/{table_id}/commits — Atomically commits new immutable Parquet/columnar micro-partition manifests via optimistic MVCC.
- FR-2POST /v1/queries/plan-prune — Prunes min/max zone-map metadata against snapshot_id and schedules locality-aware compute executors.
- FR-3DELETE /v1/tables/{table_id}/snapshots/expired — Compacts small streaming micro-partitions and reclaims expired time-travel blobs safely.
- FR-4Must guarantee snapshot isolation across concurrent streaming DML writers + 230k+ metadata/cache RPS when primary catalog shards crash.
Workload Profile
Consistency Model
Strict optimistic MVCC CAS on table head snapshot_id so concurrent streaming inserts and compactions never drop committed micro-partitions.
Relevant practice for
Sign in and either achieve AC or complete 3 official submissions on this question to inspect community diagrams and writeups.
Click Submit in the top bar to evaluate against all 7 judge cases and save each run here.
Click an item in Inventory above, or press B to add a component, double-click to name, C to connect.
Write under ### Architecture for Diagram to take that up directly