Module 01 · Lesson 7 of 11Free
The modern data stack: a map of the tools
- Level
- Beginner
- Reading time
- 13 min
When you finish this page you can
- Name the six jobs every data stack does: ingestion, storage, transformation, orchestration, serving and quality.
- Place a tool you hear about on that map, and say which job it does at Kartly.
- Name the need, with a number, that justifies adding each tool, and what each extra tool costs to run.
- Explain why open file formats keep the pieces of a stack swappable.
Builds on 3 lessons
Start with lesson 112 minChapters
Show transcript
0:00 On Monday, Meera opens a slide that leadership forwarded from a conference. It shows twelve logos, joined by arrows. The note on top asks a plain question. Do we need all of these? Meera is a data engineer at Kartly, an online store in India. Kartly gets about 60,000 orders and 10 million click events a day. Meera copies them every night from the store’s database. Daniel leads finance reporting. He reads Monday’s revenue at seven the next morning. Her whole setup is one Python script, one small database file called DuckDB, and one scheduled start. It meets his deadline every night. This video asks one question. What jobs does a data stack do? And when does each job need a tool of its own?
0:39 Teams call the set of tools a data team puts together the modern data stack. Roughly one tool for each job. The logos change every year. The jobs underneath do not. Every stack, small or large, does six jobs. Ingestion. Storage. Transformation. Orchestration. Serving. And quality. Here is each job as a question. Ingestion asks, how does data leave the source? Storage asks, where does the copy live, and for how long? Transformation asks, how do raw rows become numbers people use? Orchestration asks, what runs, in what order, and what happens on failure? Serving asks, how do readers get the result? Quality asks, how do we know the result is right? Now look at Meera’s setup today. The script reads yesterday’s rows. That is ingestion. The DuckDB file keeps them. That is storage. SQL in the script builds the daily revenue table. That is transformation. Daniel’s report is serving. Under every step, a scheduled start runs the script, and a row count check tests the result. So her setup skips nothing. Each job is done by a small piece, not a product. At 60,000 orders a day, that is enough.
1:37 From here the course follows Kartly at a later size, called stage three. Here is what grows. Click data goes from about 3 GB a day to about 60 GB a day. That is twenty times more. Too much to keep on one server’s disk for long. That adds up to about 22 TB a year. Then comes the festival sale. About 50,000 click events a second, with a dashboard that must stay under one minute behind. A nightly copy is up to a day old. It cannot feed that dashboard at all. Each need brings a tool. Fresh changes need Debezium. Instead of asking the tables at night, it reads every change from the database’s own log. That idea is called change data capture. Debezium writes each change to Kafka. Kafka is a log that many programs can read. The big raw data lands as files on S3, with Iceberg tables on top. Iceberg adds the notes that make a folder of files behave like one table. That mix is called a lakehouse. Several engines can read it. Dozens of analysts also query tidy tables all day. For that, Kartly adds Snowflake, a warehouse. dbt runs the SQL steps in order, and tests them. Airflow schedules the pipelines and decides what runs next. For the live dashboard, Flink counts clicks on the stream, and ClickHouse answers fast for many viewers. And tests on every model, plus checks on volume and freshness, cover quality. Put it together. The same six jobs, now done by dedicated tools. A second path, through Flink to ClickHouse, exists only for the live dashboard. The nightly path still feeds Daniel’s report by seven.
3:08 Many engineers believe a team should build the full stack early, so it never has to move later. But every tool is a system that runs at one in the morning, whether anyone watches it or not. So imagine Kartly sets up the stage three stack now, for 60,000 orders a day. Now Daniel’s report depends on six systems in a chain. One night, Airflow stops. Nothing starts. And no alert fires, because the alerting ran through Airflow too. At seven, the report still shows Sunday’s numbers. Nothing on it says they are stale. Chains fail more often than their parts. Say each system works on 99.5 percent of nights. That is an illustration, not a measurement of any tool. One system, like Meera’s script, fails about two nights a year. Six in a chain fail about 11 nights a year, because every link must work for the report to arrive. Each tool also brings upgrades and someone on call. So how should Kartly grow? There are three choices. Build the full stack now. It is ready for the festival, but it is six systems for a small store. Buy one platform that does most jobs. That is fewer systems to connect, but you live with one vendor’s choices. Or keep the small stack, and add each tool when a named need appears, with the number that triggers it. That is the best choice. Each addition is a migration, so Meera tracks those numbers and starts before the deadline. Write each trigger down as a number. More clicks than one machine can scan overnight? Move storage to the lakehouse. A dashboard under a minute behind? Add the streaming path. Many pipelines that depend on each other? Add an orchestrator. And if a known event, like next year’s festival sale, will cross a trigger in three months, start that piece now.
4:39 Vendors are joining jobs together. In June 2026, Fivetran, an ingestion company, completed its merger with dbt Labs. That puts ingestion and transformation under one company. In March, IBM completed its purchase of Confluent, the streaming company built on Kafka, for about 11 billion dollars. The six jobs stay the same when one company sells two of them. What changes is how easily you can swap one piece. So keep data in open formats. Parquet, an open file format for tables, with Iceberg tables on top. Any engine that supports them can read it, whoever owns the tools around it. Picture one orders table, stored once as Parquet files on S3. A load job writes it once. Snowflake reads the same files for reports. Flink reads them for streaming jobs. DuckDB reads them in a data scientist’s notebook. There are no copies. Every engine reads the same files.
5:31 Here is the recap. One. A stack does six jobs: ingestion, storage, transformation, orchestration, serving and quality. Two. At the small size, Kartly does all six with a script, a database file, a scheduled start and a row count check. Three. At the larger size, each tool arrives with a need. Four. Every added system is one more link that can fail. Five. Open formats keep the data readable, whichever tools sit around it. Every tool on this map is read by someone. So who reads each layer, and what do they need from Meera? The next lesson is working with analysts, data scientists and ML teams.
Twelve logos for 60,000 orders a day
On Monday, 9 November 2026, Meera opens a slide that Kartly’s leadership forwarded from a conference. It is titled “The modern data platform” and shows twelve product logos joined by arrows. The note on top says: “Do we need all of these?”
is an online store in India. Meera, a data engineer, copies about 60,000 orders and 10 million click events a day from a PostgreSQL . Daniel, who leads finance reporting, reads Monday’s revenue from the result at 07:00 on Tuesday.
Her whole setup is one Python script, one file and one scheduled start at 01:00. It meets Daniel’s deadline every night.
This lesson answers one question: what jobs does a data stack do, and when does each job need a tool of its own?
Six jobs, with or without a tool for each
The is the usual name for the set of tools a data team puts together, roughly one per job. The logos change every year. The jobs underneath them don’t.
Meera’s setup has no orchestrator, no warehouse and no data quality tool. Which of a data stack’s jobs is it skipping?Show answer
Every stack, small or large, does these six jobs:
| Job | The question it answers | Kartly today (stage 2) |
|---|---|---|
| Ingestion | How does data leave the source? | The script reads yesterday’s rows from the replica |
| Storage | Where does the copy live, and for how long? | One DuckDB file on one server |
| Transformation | How do raw rows become numbers people use? | SQL in the script builds the daily revenue table |
| Orchestration | What runs, in what order, and what happens on failure? | A cron entry starts the script at 01:00 |
| Serving | How do readers get the result? | Daniel’s report reads the revenue table |
| Quality | How do we know the result is right? | The script compares row counts with the replica |
The cron entry and the single server are this lesson’s scenario. Cron is the standard Unix tool that starts a command at a set time.
The first four rows follow the stages from The data lifecycle: ingest, store, transform, serve. Orchestration and quality don’t belong to one stage. They run under all of them.
This works at 3 GB of click events a day. The question is what changes it.
Each tool arrives with a need
From Module 06 the course follows Kartly at a later size, called stage 3. Here is what grows.
Click data, stage 2
10,000,000 events × about 300 bytes = about 3 GB a day
One machine stores and scans this easily.
Click data, stage 3
200,000,000 events × about 300 bytes = about 60 GB a day; × 365 ≈ 22 TB a year
Twenty times stage 2: too much to keep on one server’s disk for long.
Festival peak, stage 3
About 50,000 click events a second, with a dashboard under 1 minute behind
A nightly copy is up to a day old, so it can’t feed this dashboard at all.
Estimates for this scenario. The 300 bytes per event comes from Introduction to data engineering.
Each of these numbers is a need, and each need brings a tool. This table is the map of Kartly’s stage-3 stack.
| Job | The need that appears | Kartly’s pick at stage 3 | Taught in |
|---|---|---|---|
| Ingestion | The dashboard needs changes within seconds, and deleted rows must be seen | reads PostgreSQL’s change log and writes each change to Kafka | Change data capture, Event streaming |
| Storage | 22 TB a year, read by several engines | Files on S3 with Apache Iceberg tables: the | Table formats |
| Storage and serving | Dozens of analysts and reports query modelled tables at once | Snowflake, the warehouse | Data warehouses |
| Transformation | Hundreds of SQL models depend on each other | for batch SQL; Flink for counts on the live stream | dbt, Stream processing |
| Orchestration | Dozens of pipelines, with dependencies, retries and reruns of past days | Airflow | Orchestration |
| Serving | Many people watch a dashboard refresh every few seconds during a sale | Real-time OLAP | |
| Quality | Hundreds of tables; nobody can check them by eye | Tests on every dbt model, plus checks on volumes and freshness | Data quality |
A few names need one line each. reads every committed change from the database’s own log, instead of querying tables at night. Debezium is a tool that does this and writes the changes to , a durable log that many programs can read. A lakehouse keeps tables as open files in such as S3. An such as Apache Iceberg adds the metadata that makes a folder of files behave like one table. dbt runs SQL models in dependency order and tests them. schedules tasks and decides what runs next.
Stage 2: about 3 GB of clicks a day
Stage 3: about 60 GB of clicks a day
Kartly keeps both a lakehouse, for large raw data that several engines read, and a warehouse, for the modelled tables people query all day. Lakehouse and warehouse covers when a team needs one or both.
Every tool is one more thing to run
Many engineers believe a team should build the full stack early, so it never has to move later. But each one is a system that runs at 01:00 whether anyone watches it or not.
Six systems between the replica and Daniel
- Kartly sets up the stage-3 stack at stage 2, for 60,000 orders a day.
- Daniel’s report now depends on Debezium, Kafka, S3, Snowflake, dbt and Airflow, in a chain.
- One night Airflow’s scheduler stops. Nothing starts, and no alert fires, because the alerting ran through Airflow too.
- At 07:00 Daniel’s report still shows Sunday’s numbers, and nothing on it says they are stale.
Chains fail more often than their parts. Assume each system works on 99.5% of nights, independently.
One system
0.5% × 365 nights ≈ 2 failed nights a year
Meera’s stage-2 script.
Six systems in a chain
0.995⁶ ≈ 0.970, so about 3% × 365 ≈ 11 failed nights a year
Every link must work for the report to arrive.
The 99.5% is an illustrative assumption, not a measurement of any tool.
Each tool also brings upgrades, access rules and someone on call. Airflow 2, for example, reached end of life on 22 April 2026, so every team running it had a migration to plan.
How should Kartly’s stack grow from stage 2 to stage 3?
Build the full stage-3 stack now.
Ready for festival scale on day one. But Kartly runs six systems for 60,000 orders a day, has about 11 failed nights a year instead of 2, and Meera spends her weeks upgrading tools instead of building reports.
Buy one platform that does most of the jobs.
One vendor covers most jobs: fewer systems to connect, one bill, one set of permissions. But every job uses that vendor’s choice, and moving one piece out later is harder.
Keep the small stack, and add each tool when a named need appears, with the number that triggers it.
The stack stays small while the data is small. The cost: each addition is a migration, so Meera tracks the numbers that trigger each one and starts before the deadline, not after it is missed.
Why this choice
A tool is worth running when it solves a problem Kartly has now. At stage 2, each extra system adds failures and work without changing a number Daniel reads.
Write each trigger down as a number. More clicks than one machine scans in the nightly window: move storage to the lakehouse. A dashboard under a minute behind: add the streaming path, as Batch vs streaming showed. Many pipelines that depend on each other: add an orchestrator.
The choice changes in two cases. If a known event, such as next year’s festival sale, will cross a trigger in three months, start that piece now. If the data team is one person, a managed service or a single platform may cost less than the hours spent running separate tools.
Open files keep the pieces swappable
Vendors are joining jobs together. Fivetran, an ingestion company, completed its merger with dbt Labs on 1 June 2026 2. Its platform now “moves, manages, and transforms data” 2: ingestion and transformation from one company. IBM completed its purchase of Confluent, whose streaming platform is built on Apache Kafka, on 17 March 2026, for an enterprise value of about $11 billion 3. Warehouse companies have bought PostgreSQL companies too, as Operational vs analytical data noted.
The six jobs stay the same when one company sells two of them. What changes is how easily you can swap one piece. Data kept in open formats, such as files with Iceberg tables on top, stays readable by any engine that supports them, whoever owns the tools around it.
No copies: every engine reads the same files.
Versions of Kartly’s stage-3 tools, as of November 2026
| Tool | Latest release, as of November 2026 |
|---|---|
| PostgreSQL | 18 |
| Debezium | 3.7 series (3.7.1.Final, 6 Nov 2026) |
| Apache Kafka | 4.4.0 (22 Oct 2026); runs without ZooKeeper since 4.0 |
| 2.3.0 (25 Jun 2026) | |
| Apache Iceberg | 1.12.0 (30 Sep 2026) |
| dbt | v2.0 (14 Sep 2026), a Rust rewrite |
| Apache Airflow | 3.4.0 (6 Nov 2026) |
| DuckDB | 2.0.0 (21 Oct 2026) |
Try it yourself
Stand in for the lakehouse’s storage layer on a laptop. One program writes a file; a second program, with no tables of its own, reads it. You need Python 3.11 or later and DuckDB:
pip install duckdb==2.0.0Save this as load.py. It writes Monday’s made-up orders to a Parquet file with DuckDB’s COPY … TO 1.
import duckdb
# Ingest and store: write Monday's orders to an open file.
con = duckdb.connect() # in-memory database; only the file is kept
con.execute("""
CREATE TABLE orders AS
SELECT * FROM (VALUES
(1001, DATE '2026-11-09', 1200, 'delivered'),
(1002, DATE '2026-11-09', 800, 'cancelled'),
(1003, DATE '2026-11-09', 2500, 'shipped'),
(1004, DATE '2026-11-09', 450, 'delivered'),
(1005, DATE '2026-11-09', 3000, 'cancelled')
) AS t(order_id, ordered_on, amount_inr, status)
""")
con.execute("""
COPY (SELECT * FROM orders)
TO 'orders_2026-11-09.parquet' (FORMAT parquet)
""")
print("wrote orders_2026-11-09.parquet")Save this as report.py. It plays the serving side and reads the file directly.
import duckdb
# Serve: a separate program with no tables reads the file.
row = duckdb.sql("""
SELECT
count(*),
sum(amount_inr) FILTER (WHERE status <> 'cancelled')
FROM 'orders_2026-11-09.parquet'
""").fetchall()[0]
print(f"orders={row[0]}, revenue_inr={row[1]}")Run python load.py, then python report.py. The second should print:
orders=5, revenue_inr=4150Look for two things. report.py never created a table: the column names and types travelled inside the file. And DuckDB reads only the columns a query needs from a Parquet file 1, so this query skips order_id and ordered_on. At stage 3 the file sits on S3, Iceberg tracks which files make up the table, and the reader is Snowflake or Flink instead of a script. Then change report.py to count orders per status, and predict the counts before you run it.
Where this shows up
- Design: a first analytics pipeline for an online store builds the stage-2 stack piece by piece.
- Design: a reporting warehouse for an online store builds the storage and serving jobs at stage 3.
- Design: halving a data platform’s monthly bill removes pieces whose need has gone.
The map shows tools and jobs, but every table on it is read by someone. The next lesson, Working with analysts, data scientists and ML teams, looks at who reads each layer and what they need from Meera.
Common mistakes
Start from the job and its number: how much data, how fresh, how many readers. Then pick the smallest piece that does that job.
A free tool still needs upgrades, access rules, monitoring and someone on call. Count those before adding it.
Check your understanding
Finance asks for a second daily report, also due by 07:00, built from the same orders. Does Meera need Airflow now?Show answer
Kartly wants a festival dashboard under 1 minute behind. Which jobs change, and which can stay as they are?Show answer
At stage 3, Flink, Snowflake and a data scientist’s notebook all need the same 22 TB a year of click data. Why keep it as Iceberg tables on S3?Show answer
Six systems in a chain each fail on 1 night in 200. About how many nights a year does the report fail to arrive?Show answer
Summary
- A data stack does six jobs, ingestion, storage, transformation, orchestration, serving and quality, and each job needs its own tool only when a need with a number appears.
- At stage 2, Kartly does all six with a script, a DuckDB file, a cron entry and a row-count check.
- At stage 3, each tool arrives with its need: Debezium and Kafka for fresh changes, an Iceberg lakehouse for 22 TB a year, Snowflake and dbt for many readers and models, Airflow for many pipelines, ClickHouse for the live dashboard.
- Every added system is one more link that can fail at 01:00: six links at 99.5% fail about 11 nights a year.
- Vendors are merging jobs together; open formats such as Parquet and Iceberg keep the storage readable whichever tools sit around it.
