Data & lakehouse
58 articles in this category and its sub-categories.
· min read
Schema-on-read vs schema-on-write
Schema-on-write enforces structure at ingest (warehouses); schema-on-read stores raw and applies structure at query (lakes). Flexibility vs guarantees.
#data
#architecture
#ai-assisted
· min read
SQL vs NoSQL
SQL databases are relational, schema-enforced, and strongly consistent. NoSQL is a grab-bag of non-relational stores built for scale and flexible schemas. Pick by access pattern.
#data
#databases
#ai-assisted
· min read
What is ACID (database transactions)?
ACID is the four guarantees a database transaction makes — Atomicity, Consistency, Isolation, Durability — and why they get hard in distributed systems.
#data
#databases
#transactions
#ai-assisted
· min read
Batch vs stream processing
Batch processes finite datasets on a schedule for throughput; stream processing handles unbounded events continuously for low latency. When to use each.
#data
#streaming
#processing
#ai-assisted
· min read
What is a DAG (and why orchestrators use them)?
A DAG models a pipeline as tasks (nodes) and dependencies (edges) with no cycles — so a valid run order always exists. Why orchestrators rely on it.
#data
#orchestration
#ai-assisted
· min read
What is a data pipeline?
A data pipeline moves data from sources through ingest, transform, store, and serve — reliably, on a schedule or as a stream. The stages, batch vs streaming, and where pipelines rot.
#data
#pipelines
#ai-assisted
· min read
What is Change Data Capture (CDC)?
CDC streams inserts, updates, and deletes out of a database as they happen — log-based, query-based, or trigger-based — so downstream systems stay in sync.
#data
#cdc
#pipelines
#ai-assisted
· min read
What is ETL (and how is ELT different)?
ETL extracts data, transforms it, then loads it. ELT loads raw first and transforms inside the warehouse. Why cheap cloud compute flipped the order, and where each still fits.
#data
#etl
#pipelines
#ai-assisted
· min read
What is idempotency (in data pipelines)?
An idempotent step gives the same result whether it runs once or ten times — the property that lets a crashed, re-run pipeline stay correct instead of double-counting.
#data
#pipelines
#reliability
#ai-assisted
· min read
What is Apache Hudi?
Apache Hudi is an open table format built at Uber for fast upserts and incremental processing on a lake — strong write path, lost the format war on neutrality.
#data
#lakehouse
#table-formats
#ai-assisted
· min read
What is Apache Avro (and how is it different from Parquet)?
Avro is a row-oriented binary format with a schema attached — built for moving and evolving records. Parquet is columnar for analytics at rest. They solve opposite problems.
#data
#formats
#serialization
#ai-assisted
· min read
What is data partitioning?
Partitioning splits a dataset into chunks by a key so queries can skip the parts they don't need. Done right it's the biggest scan win; done wrong it makes tiny files.
#data
#performance
#storage
#ai-assisted
· min read
What is Delta Lake (and how does it compare to Iceberg)?
Delta Lake is an open table format that adds ACID, time travel, and schema enforcement to a data lake. How it compares to Apache Iceberg.
#data
#lakehouse
#table-formats
#ai-assisted
· min read
What is Amazon Kinesis?
Amazon Kinesis is AWS's managed streaming family: Data Streams (a sharded log), Firehose (managed delivery), and Managed Service for Apache Flink.
#data
#streaming
#cloud
#ai-assisted
· min read
What is Apache Kafka?
Kafka is a distributed, append-only log you can publish events to and replay later. Not a queue and not a database — a durable commit log that decouples the systems producing data from the ones consuming it. How the log, partitions, and consumer groups fit together.
#data
#kafka
#streaming
#ai-assisted
· min read
What is Apache Beam?
Apache Beam is a unified model for batch and streaming: write one pipeline and run it on a pluggable runner like Dataflow, Flink, or Spark.
#data
#processing
#streaming
#ai-assisted
· min read
What is Apache Flink?
Apache Flink is a distributed engine for stateful stream processing: true record-at-a-time streaming, event-time with watermarks, exactly-once state.
#data
#streaming
#processing
#ai-assisted
· min read
What is Apache Pulsar?
Apache Pulsar is a distributed messaging and streaming platform that splits serving (brokers) from storage (BookKeeper), with multi-tenancy built in.
#data
#streaming
#messaging
#ai-assisted
· min read
What is Hadoop (and why MapReduce faded)?
Hadoop launched the big-data era with HDFS, MapReduce, and YARN. Foundational, but largely superseded by Spark, S3, and cloud warehouses.
#data
#processing
#history
#ai-assisted
· min read
What is RabbitMQ (and how is it different from Kafka)?
RabbitMQ is a smart message broker that routes messages through exchanges to queues and deletes them once consumed — unlike Kafka's replayable log.
#data
#messaging
#ai-assisted
· min read
What is Redpanda?
Redpanda is a Kafka-API-compatible streaming platform in C++ with no JVM and no ZooKeeper, built for lower latency and simpler operations.
#data
#streaming
#kafka
#ai-assisted
· min read
What is Apache Spark?
Spark is a distributed compute engine that runs one logical query across a cluster of machines. It builds a lazy plan, splits it into parallel tasks, and shuffles data between stages. How the driver, executors, and DAG actually fit together.
#data
#spark
#distributed-computing
#ai-assisted
· min read
What is a materialized view?
A materialized view stores the precomputed result of a query as a real table, so reads are instant — at the cost of keeping it refreshed as the source changes.
#data
#databases
#performance
#ai-assisted
· min read
What is a query engine (Trino, Presto, and friends)?
A query engine plans and executes queries over data it doesn't own — decoupling compute from storage. Trino and Presto run SQL across lakes and many sources at once.
#data
#query
#performance
#ai-assisted
· min read
What is Apache Druid?
Apache Druid is a real-time OLAP datastore for sub-second queries on high-volume event data, blending streaming ingestion with columnar storage.
#data
#olap
#realtime
#ai-assisted
· min read
What is Apache Pinot?
Apache Pinot is a real-time distributed OLAP datastore built for ultra-low-latency, high-concurrency analytics that powers user-facing dashboards.
#data
#olap
#realtime
#ai-assisted
· min read
What is ClickHouse?
ClickHouse is an open-source columnar OLAP database in C++ built for very fast analytical queries over large tables via vectorized execution.
#data
#olap
#databases
#ai-assisted
· min read
What is StarRocks?
StarRocks is an open-source MPP analytical database with vectorized execution and a cost-based optimizer, fast at multi-table joins on its own storage and on open lakehouse tables.
#data
#olap
#lakehouse
#ai-assisted
· min read
Normalization vs denormalization
Normalization removes redundancy so each fact lives in one place; denormalization duplicates it to avoid joins. The tradeoff is writes-and-integrity vs reads-and-speed.
#data
#databases
#modeling
#ai-assisted
· min read
Slowly changing dimensions (SCD)
Dimension attributes change over time. SCD is how a warehouse handles that: Type 1 overwrites, Type 2 keeps history as versioned rows, Type 3 keeps the previous value.
#data
#modeling
#warehouse
#ai-assisted
· min read
Star schema and dimensional modeling
A star schema puts a central fact table of measurable events around dimension tables of context — denormalized so analytics queries stay fast.
#data
#modeling
#warehouse
#ai-assisted
· min read
What is dbt?
dbt runs the T in ELT inside the warehouse: you write SELECT statements as models, and dbt orders dependencies, materializes tables, tests, and docs.
#data
#transformation
#sql
#ai-assisted
· min read
What is Dataform?
Dataform is a SQL-based transformation framework, now part of Google Cloud, for managing ELT inside BigQuery with SQLX models, ref dependencies, and tests.
#data
#transformation
#sql
#ai-assisted
· min read
What is SQLMesh (and how does it compare to dbt)?
SQLMesh parses your SQL to understand columns and dependencies, and uses virtual environments to preview changes without rebuilding production tables.
#data
#transformation
#sql
#ai-assisted
· min read
What is BigQuery?
BigQuery is Google Cloud's serverless data warehouse: no clusters to manage, queries run across a shared pool, with scan-based pricing to watch.
#data
#warehouse
#cloud
#ai-assisted
· min read
What is Databricks?
Databricks is a cloud data and AI platform from the creators of Apache Spark, built around the lakehouse: Spark compute over open table formats.
#data
#lakehouse
#platform
#ai-assisted
· min read
What is Amazon Redshift?
AWS's columnar MPP data warehouse — a provisioned-cluster design forked from PostgreSQL, now with RA3 managed storage and a serverless option.
#data
#warehouse
#cloud
#ai-assisted
· min read
What is Snowflake?
Snowflake is a fully-managed cloud data warehouse that separates storage from compute, with per-query virtual warehouses that scale on demand.
#data
#warehouse
#cloud
#ai-assisted
· min read
What is the medallion architecture (bronze, silver, gold)?
A layered lakehouse pattern: bronze holds raw ingested data, silver is cleaned and conformed, gold is business-ready aggregates. Refinement flows upward.
#data
#architecture
#lakehouse
#ai-assisted
· min read
What is Apache Airflow?
Airflow schedules and monitors pipelines defined as DAGs of tasks in Python. It orchestrates work — deciding what runs, when, and in what order — without doing the heavy compute itself. How the scheduler, DAGs, operators, and executor fit together.
#data
#airflow
#orchestration
#ai-assisted
· min read
What is data lineage?
Data lineage is the recorded provenance of data — where a field came from, what transformed it, and what depends on it. It's how you do impact analysis and debug wrong numbers.
#data
#governance
#observability
#ai-assisted
· min read
What is Dagster?
Dagster is a Python data orchestrator built on software-defined assets: you declare the data assets you want and it builds the DAG, lineage, and runs.
#data
#orchestration
#ai-assisted
· min read
What is a data mesh?
A data mesh decentralizes data ownership to the domain teams that produce it, treats datasets as products, and federates governance — an org model, not a tool.
#data
#architecture
#governance
#ai-assisted
· min read
What is Mage?
Mage is an open-source data pipeline tool with a notebook-style, block-based editor where each runnable block forms the pipeline's DAG.
#data
#orchestration
#ai-assisted
· min read
What is Project Nessie?
Project Nessie is an open-source transactional catalog that brings git-like branches, tags, and atomic commits to data lake tables.
#data
#catalog
#lakehouse
#ai-assisted
· min read
What is Prefect?
Prefect is a Python-native orchestrator: plain functions become flows and tasks via decorators, with dynamic, runtime-determined workflows instead of a static DAG.
#data
#orchestration
#ai-assisted
· min read
What is Temporal (durable execution)?
Temporal is a durable-execution platform where you write workflows as ordinary code that survives crashes and resumes exactly where it left off.
#data
#orchestration
#workflows
#ai-assisted
· min read
What is the Hive metastore?
The Hive metastore maps table names to schemas, partitions, and file locations so engines can treat directories of files as SQL tables.
#data
#catalog
#ai-assisted
· min read
What is AWS Glue?
AWS Glue is Amazon's serverless data-integration service: a managed Hive-compatible Data Catalog, schema crawlers, and serverless Spark ETL jobs.
#data
#catalog
#etl
#ai-assisted