Overview
Raw data lands unchanged, then is cleaned and modelled in versioned steps.
Each table records where its rows came from and when.
Trade-offs
- Batch vs streaming
- Batch is simpler and cheaper; stream only where minutes matter.
- ELT vs ETL
- Load raw first to keep history and reprocess when rules change.
Architecture
Integration layer
Moves data between systems reliably. Every message is queued, retried on failure and deduplicated so nothing posts twice.
- REST & webhook adapters
- Queue with retries
- Idempotency keys
- Schema mapping
Illustrative diagram. For the end-to-end view, see the architecture on the Developers home.
Workflow
Land
Raw, immutable copy.
What we design for
- Spreadsheets as the system of record
- No lineage when numbers disagree
- Late-arriving data
Freshness check
select source, max(loaded_at) as last_load
from staging.shipments
group by source
having max(loaded_at) < now() - interval '2 hours';