Data Track · Starter Track

Data Engineering

Core patterns for reliable ingestion, dimensional modeling, batch vs. streaming pipelines, lakehouse tables, and retrieval indexing.

OLTP vs. OLAP Workloads

Storage

Transactional databases (Postgres) optimize fast row-level writes and ACID lookups, while analytical warehouses (ClickHouse, BigQuery, DuckDB) optimize columnar scans over billions of rows.

Engineering AnalogyRow-oriented filing cabinet for live orders vs. columnar spreadsheet for quarterly analytics.
  • Never run heavy full-table analytics directly against your production OLTP primary.
  • Use Parquet + columnar engines when scanning specific columns across large datasets.

Idempotent Batch Pipelines & CDC

Ingestion

Design every pipeline run so retrying a failed job produces the exact same output without duplicating rows—using partition overwrites, merge/upsert keys, or Change Data Capture (CDC).

Engineering AnalogyHTTP PUT semantics for data tables: running twice yields the same state as running once.
  • Partition by event date/hour and make backfills deterministic.
  • Track watermarks and dead-letter queues for malformed records.

Data Quality Contracts & Lineage

Reliability

Validate schema types, null rates, uniqueness, and freshness at pipeline boundaries before downstream dashboards or RAG vector indexes consume corrupt data.

Engineering AnalogyUnit tests and TypeScript interfaces applied to tables and event streams.
  • Fail fast at ingestion rather than silently poisoning embeddings or metrics.
  • Enforce explicit schema evolution rules for upstream producers.

Streaming, Backpressure & Windows

Streaming

Event streams (Kafka, Redpanda, Queues) decouple producers from consumers and require bounded buffering, watermarking for late events, and dead-letter handling.

Engineering AnalogyAn async message bus with circuit breakers so traffic spikes don't crash consumers.
  • Always pair at-least-once delivery with idempotent consumers.
  • Monitor consumer lag alongside throughput.
Want to expand the Data track?

Add subpages under src/app/data/<subpage>/page.tsx and register them in src/data/tracks.ts.

Explore AI Track →All Tracks