Back to Kavex Intelligence

Kavex Intelligence · Developer discipline

Data Engineering

Pipelines that move and reconcile data with lineage you can trace.

Architecture

Raw data lands unchanged, then is cleaned and modelled in versioned steps.

Each table records where its rows came from and when.

Implementation flow

  1. Land

    Raw, immutable copy.

  2. Clean

    Typed, deduplicated.

  3. Model

    Business entities.

  4. Check

    Row counts and freshness tests.

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.

Freshness check

Illustrative code · sql

select source, max(loaded_at) as last_load
from staging.shipments
group by source
having max(loaded_at) < now() - interval '2 hours';