Design a Radar Sensor Observation Pipeline
Normalize heterogeneous sensor messages into a fresh operator feed and immutable authorized exports.
Problem statement
For this exercise, assume an authorized operator configures adapters for heterogeneous sensor sources, observes a time-ordered normalized feed, and exports a bounded snapshot for downstream analysis.
Each adapter maps a native message into a common observation containing sensor identity, event time, location, measurement type, value, and quality metadata while retaining a pointer to the immutable raw payload. Up to 100 active sensors produce a combined 10,000 observations per second in one region.
The live view targets five-second freshness, and normalized observations plus raw references are retained for seven days. Ingestion is at least once, every sensor message has a stable identity, and events may arrive up to ten minutes late.
Export creation is asynchronous and idempotent: retrying the same request with the same key returns the same export, while reusing that key for different filters is rejected deterministically.
Jobs report pending, published, failed, or expired; failed and expired are terminal, published transitions only to expired after seven days, and the published manifest and artifact bytes never change. Partial artifacts are never downloadable. Every read or export must be tenant-authorized.
Target tracking or multi-sensor fusion, commanding physical sensors, and multi-region disaster recovery are outside scope.
What to build
- An authorized operator can register or version a sensor adapter without changing the common observation contract for existing sources.
- The system durably accepts native sensor messages, retains their raw payloads, and produces idempotent normalized observations.
- An authorized operator can read a time-ordered recent feed filtered by permitted sensors, time range, location, and measurement type.
- An authorized operator can create and monitor an immutable bounded snapshot of normalized observations, download it only after publication, and observe terminal failed or expired outcomes without access to partial artifacts.
At scale
- Up to 100 active sensors produce an aggregate peak of 10,000 observations per second in one region, with uneven rates across sources.
- The operator feed should expose admitted observations within five seconds at the 95th percentile while ingestion remains durable during short downstream slowdowns.
- Native payloads and normalized observations are retained for seven days. A single export may contain up to ten million observations, and each published export artifact is retained for seven days before it expires.
- Sensor delivery is at least once, stable message identities are available, and observations may arrive up to ten minutes after their event time.