danny22.com

Labs

Data Lab

Build and run a group data platform on a single machine. Ingest structured and unstructured data in batch and in real time into a lakehouse, so that SQL, statistics, machine learning, deep learning, LLMs and agents all use the same data. The goal is not to know many tool names but to spot the traps each source sets and to make every rerun give the same result.

Status
Updated 2026-11-17 KST · 1 of 68 units written. The syllabus is agreed (2026-11-11) and the units are not written yet. Collectors for sources that cannot be fetched again later (electricity demand daily, weather forecasts hourly) have been running ahead of the material since 2026-11-10
Size
11 parts, 68 units, each a 60 to 90 minute session. Seven of them are advanced. Units are numbered volume-part-chapter (V00-P01-C03); from V00-P01 on, the first unit of each part (C00) is that part's map
Audience
Data engineers and platform operators. Reading Python and SQL and running commands in a shell is enough. Take Platform Lab first for how services are stood up and guarded. Analysts and data scientists can use the lake after following just the data platform map, V00-P01 and V00-P09
Cases
The group IT team of the fictional holding company danny22.com brings together data from six subsidiaries (energy, retail, finance, factory, mobility and media). The subsidiaries and people are made up and unrelated to real companies. Only the group IT cases are real: they come from the machine that runs this site
Data
Each source comes from the subsidiary whose core business is that data. The course uses real public data (U.S. electricity demand, U.S. weather forecasts, online retail orders, air compressor sensors, Seoul public bike rentals, music listening logs, inspection images and more) and this machine's own operating metrics, and fills only the gaps with synthetic data we generate
Access
data-lab.danny22.com is open to signed-in readers. Get in touch to request access
Language
The course material is written in Korean

What you learn

  • One thin pass first: run the smallest version end to end, from fetching one source to querying it. Even the small version uses the same structure as production, so nothing is thrown away and rebuilt later.
  • Each source's own traps: ingest files, APIs, operational databases and live events while dealing with late values, values revised later, deleted rows, changing schemas and personal identifiers. The bronze layer, stored as received and by date received, is never edited.
  • Turning data into tables you can trust: cover columnar files, table formats and catalogs, and build silver and gold layers with dbt. Work through dimensional modeling, slowly changing dimensions and metric definitions, then rebuild everything from bronze to confirm the result is the same.
  • Documents and images in the same lake: parse documents into chunks and embeddings, and combine vector and full-text search results with structured tables in one query.
  • Running and guarding it daily: move timer-driven ingestion and transformation into assets of an orchestrator, and manage quality tests, schema changes, lineage, permissions and personal data as code. Rehearse backup and restore and time it.
  • Many engines on the same data: read the lake without copies from SQL, dataframes, GPUs and training loaders, and LLMs and agents.

What a unit contains

  • Theory: concepts and reasons, with conclusions written from processing time, memory, file counts and latency measured on this machine.
  • Notebook: fetch and measure the sources yourself, ending in a check cell that judges the result.
  • Pipeline code: the same work moved into code that runs every day on the platform. The platform this lab builds is a real service, not a practice copy.
  • Core and advanced: every unit is marked core or advanced. Advanced units (Kafka, Debezium, Iceberg, Spark, Airflow, OpenMetadata) are started on this machine, measured and shut down again; they don't stay on the platform.

Course

The course works from the top down. V00-P01 runs one source all the way through to show what the learning is for, and from V00-P02 on each layer is taken in depth. How to stand up and guard a service is left to Platform Lab units; this course covers only what changes because of data.

PartWhat you learnUnits
V00-P00 Getting startedCourse overview, the data platform map, and a workflow that separates production from a sandbox3
V00-P01 One thin passFetching one source, fetching it daily, one silver table, a gold mart and queries, does a rerun give the same result6
V00-P02 Batch ingestionKinds of sources and their contracts, file sources, API sources and dlt, increments and revised values, operational database sources, log-based CDC, large sources and personal identifiers8
V00-P03 Real-time ingestionWhen real time is needed, a Postgres event bus, consumers and exactly-once, real streams, synthetic streams and replay, Kafka7
V00-P04 Lakehouse storageParquet and columnar storage, table formats and catalogs, concurrent writes and conflicts, maintenance, Iceberg and the standard stack, loading with Spark7
V00-P05 Transformation and modelingGetting started with dbt, cleaning into silver, incremental models, dimensional modeling, slowly changing dimensions, gold marts and metric definitions, rebuilding from bronze8
V00-P06 Unstructured dataUnstructured data in the lake, document parsing, chunks, embeddings and search, images and audio, changing and deleted documents6
V00-P07 OrchestrationFrom timers to an orchestrator, Dagster assets, partitions, sensors and backfills, retries and alerts, resource planning, Airflow7
V00-P08 Quality and governanceQuality tests, contracts at the Python boundary, when schemas change, catalog and lineage, permissions and personal data, OpenMetadata and OpenLineage7
V00-P09 Using the dataFrom SQL, dataframes and Arrow, GPUs and training loaders, LLMs and agents5
V00-P10 Platform operationsStanding it up on the platform and upgrading, backup and restore, looking back and handing over to the next lab4