● DATA ENGINEERING ●

DATA ENGINEERING & DELTA LAKE

How Haven Blueshore builds data pipelines for clients — the reference architecture, the lakehouse standard, and how capability is measured.

← Back to Technical Portal

Status labels

Every section on this page carries one label. Live — running in production today. Standard — the delivery standard we build to. Target — an alternative approach, defined here for engagements that call for it.

Delivery standard Standard

This page documents the delivery standard — how Haven implements data pipelines for clients. The Delta Lake layout below is the adopted lakehouse standard, the same one documented on the MLOps page for operations telemetry.

Pipeline reference architecture Standard

Every client pipeline follows the same three layers. Bronze holds raw events exactly as they arrive — source files, API payloads, database extracts — with the arrival timestamp and source recorded on every row. Silver holds the same events deduplicated and normalized: one row per business key per window, timestamps in UTC, types and codes mapped to the client's canonical values. Gold holds aggregates built for reporting: counts, sums, and snapshots by the dimensions the client actually asks about.

Tables are partitioned by date and source, so a query over last week's data from one source never scans the full archive. Optimize compacts small files on a schedule and vacuum reclaims the files optimize leaves behind. Z-ordering on the most-queried keys keeps the common questions reading contiguous files.

A pipeline is not done when it first runs. It is done when a failed run pages someone, a re-run is safe to repeat, and the last successful load is visible without opening the job console. Every pipeline ships with a load log: rows read, rows written, rows rejected, and the time the load finished.

Spark and Glue: when each fits Standard

EngineFits whenHaven standard use
Apache Spark (Scala)Large-scale parallel processing, custom transformations, refactoring a slow ETL job into parallel stagesBatch and streaming jobs where the transformation logic is the work — joins, windows, aggregations at volume
AWS GlueAWS-native ETL, scheduled jobs, catalog-driven discovery of new source filesServerless scheduled loads and catalog crawlers where the client already lives in AWS and the job is mostly move-and-map

The choice is per pipeline, not per client — one engagement can run Spark for its heavy transformation job and Glue for its nightly scheduled loads. Both engines write to the same Delta Lake layout, so a pipeline can move between them without re-laying the lake. Refactoring an existing ETL job starts from its measured behavior — what it reads, what it writes, where it spends its time — not from a rewrite.

Architecture decision records Standard

  • ADR-001 — Delta Lake is the lakehouse standard. Context: client pipelines need one open table format across batch engines, with atomic writes and time travel for reprocessing. Decision: Delta Lake, laid out bronze/silver/gold, partitioned by date and source. Consequences: every pipeline follows the same layout; optimize and vacuum are scheduled discipline, not optional; a pipeline that cannot land in Delta Lake is not a Haven pipeline.
  • ADR-002 — Spark vs Glue is an execution choice, not an architecture choice. Context: clients arrive with different volumes, AWS footprints, and team skills. Decision: choose the engine per pipeline on data volume, existing AWS usage, and transformation complexity; the lakehouse layout stays the same either way. Consequences: two runbooks to maintain instead of one, but a pipeline is never locked to an engine it has outgrown.

These records state the adopted standard as of 2026-11-18. A decision changes only by a new ADR that names what it supersedes.

User requirements outline Standard

The URS for a client data pipeline is written per engagement. The outline below is the starting set — every requirement is verified by a named test before the pipeline is accepted.

  • URS-DE-01 — No silent loss. Every source record is accounted for: loaded, rejected with a reason, or logged as skipped. A load that cannot account for its input fails loudly.
  • URS-DE-02 — Raw is immutable. Bronze holds source data exactly as received. Corrections happen in silver, never by editing bronze.
  • URS-DE-03 — Re-runnable. Re-running a load for the same window produces the same silver and gold output. A re-run never duplicates rows.
  • URS-DE-04 — Visible. The last load's row counts, finish time, and failure state are readable without opening the job console.
  • URS-DE-05 — Access is named. Only named roles read each layer. Bronze is never the reporting layer.
  • URS-DE-06 — Failure pages someone. A failed or stalled load alerts the on-call route; a load that has not run on schedule is itself a failure.

BPA benchmark track Standard

Delivery capability is measured, not asserted. The benchmark track covers three documents per pipeline: a functional record (what the pipeline does, against the URS), an architectural record (layout, engine choice, partitioning — against the ADRs above), and a governance record (who can change the pipeline, how a change is reviewed, how a failure is handled).

Capability is re-evaluated yearly against the same measures: load reliability (failed and stalled loads per period), reprocessing cost (time to re-run a window), and data-quality findings (rejected rows and their causes). The baseline is taken on each engagement delivered to this standard, and every yearly re-evaluation is recorded against it.

Compliance Data Vault Standard

$75/mo. Immutable audit storage for billing and compliance records, managed monthly — your records are kept safe and ready when you need them.

This is distinct from HashiCorp Vault, the credential vault: the Compliance Data Vault holds immutable audit records, not credentials. The Delta Lake bronze/silver/gold layout on this page is the telemetry standard; the Data Vault is the audit-record store.

Guardrails

  • Bronze is never the reporting layer and is never edited in place.
  • No pipeline ships without a load log and a failure alert.
  • Benchmark, latency, and throughput figures are measured per engagement and recorded against the yearly baseline.
  • Sections are labeled Live, Standard, or Target.