Try it on your own data
Every report in this article is in the free plan. One snippet for web and apps, up to 10 sites.
Start freeETL architecture is the layered design that moves data from sources to analysis: ingest, staging, clean and conform, model and deliver, and orchestration with monitoring. Extract, transform and load are only the middle of it. What makes a pipeline trustworthy is a check at each boundary, such as extracted equals loaded plus rejected plus deduplicated. Below: the five layers, Kimball's proportions and a worked example.
What you will learn
- Design five layers and write one boundary check for each; a failed check should stop the publish
- Kimball's 34 subsystems put 8 on extract and clean but 26 on delivery and management, so budget time for operations
- Write the freshness budget down: a 60-minute schedule with a 45-minute run means rows can be 105 minutes old
What is ETL architecture?
ETL architecture is the design of how data moves from source systems to a place where people can analyse it: which components extract it, where it waits, what cleans and reshapes it, where it lands and what watches the whole thing. The three letters are the easy part. AWS describes them as extracting raw data into a temporary staging area, transforming it by removing errors, deduplicating and applying business rules, and loading it into a target such as a data warehouse (AWS, What is ETL). Architecture is everything around those three steps that decides whether the result can be trusted on Monday morning.
The word to focus on is layers. A pipeline that does extract, clean, join and publish in one script works until the first source changes a column name; a pipeline with separate layers lets you see which step broke, rerun only that step and prove that no rows went missing. The rest of this guide gives you the layers, the numbers to check at each boundary and a worked example you can recompute. If you are still choosing between transforming before or after loading, read ETL vs ELT first; the plain definition is in the ETL glossary entry.
The five layers of an analytics pipeline
| Layer | Job | Typical failure | Check at the boundary |
|---|---|---|---|
| 1. Ingest | Pull or receive data from sources (APIs, databases, files, event streams) | Source changes shape, rate limit, partial pull | Rows extracted vs rows the source reports |
| 2. Staging | Land raw data unchanged, with load time and source | Overwritten raw data, no replay possible | Raw copy kept; load time recorded |
| 3. Clean and conform | Validate, deduplicate, fix types, standardise keys and units | Silent drops, duplicate keys, mixed time zones | Extracted = loaded + rejected + deduplicated |
| 4. Model and deliver | Build the tables people query (facts, dimensions, aggregates) | Metric defined twice, late-arriving rows | One definition per metric; totals tie to the source |
| 5. Orchestrate and observe | Schedule, order, retry, alert, document | A failed step nobody notices | Freshness and row-count alerts |
Layer 5 is the one most diagrams omit and the one that decides how much of your week goes on firefighting. It is also where the Kimball Group puts almost half of its attention, as the next section shows.
| Layer | Job | Check at the boundary |
|---|---|---|
| Ingest | Pull or receive from sources | Rows extracted vs rows the source reports |
| Staging | Land raw data unchanged | Raw copy kept, load time recorded |
| Clean and conform | Validate, deduplicate, standardise | Extracted = loaded + rejected + deduplicated |
| Model and deliver | Build the tables people query | Totals tie to the source |
| Orchestrate and observe | Schedule, retry, alert | Freshness and row-count alerts |
Layer five is the one most diagrams omit.
What Kimball's 34 subsystems tell you about priorities
The Kimball Group's ETL architecture describes 34 subsystems in four groups: 3 for extracting data from source systems, 5 for cleaning and conforming, 13 for delivering data to the final presentation layer as dimensional structures, and 13 for managing the production ETL environment (Kimball Group, ETL Architecture: 34 Subsystems). Check the arithmetic: 3 + 5 + 13 + 13 = 34.
Two things are worth taking from the proportions, without adopting the whole list:
- Extraction is small, delivery and management are large. Eight of 34 subsystems (24%) cover getting data in and cleaning it; 26 of 34 (76%) cover delivering it in a usable shape and keeping the system running. Teams that budget most of their time for connectors tend to be surprised by the second part.
- Management is a design topic, not an afterthought. Thirteen subsystems exist to run the pipeline in production. In practice that means scheduling, dependencies, restart and recovery, version control, lineage and monitoring.
You do not need 34 components. You do need an answer, written down, for each of the five layers above.
Batch, streaming or both
Architecture also decides how often data moves. Three patterns cover most cases:
- Batch. Run on a schedule (hourly or daily), process a window of data, load it. Simple to reason about, easy to rerun, and the right default for reporting that is read once a day.
- Streaming. Process events as they arrive. Needed when a number must be fresh within seconds or minutes, such as live monitoring. More moving parts: ordering, late events, exactly-once concerns.
- Hybrid. Streaming for the few metrics that need to be fresh, batch for everything else, with the batch run correcting what the stream estimated.
Google's reference design for a cloud data warehouse is a hybrid: batch pipelines load daily deltas from relational sources and files, streaming pipelines read events from a messaging topic, and the data lands in staging tables before further SQL transformations (Google Cloud, Designing ETL architecture for a cloud-native data warehouse). That article is from 2017, so use it for the shape, not for product details.
It also shows two details worth copying. The daily load uses a time window of 130,000 seconds, which is 130,000 ÷ 86,400 = 1.5 days, to absorb variation in when each run finishes; and the deduplication cache covers the same window, so records picked up twice by the overlap are dropped before loading.
ETL or ELT inside this architecture
The two orders are choices inside the same layers, not different architectures. AWS puts it this way: ELT loads raw data into the target first and transforms it there, which removes the separate staging area and relies on the target's processing power; ETL needs more upfront planning of target types and structures (AWS, What is ETL).
Rules of thumb:
- If your warehouse is elastic and raw data is cheap to store, land first and transform inside it (ELT). Layers 2 to 4 become tables and views in one place.
- If something must be removed before it may be stored, such as personal data you are not allowed to keep, transform before loading (ETL) for that field.
- If you do both, document which fields take which path, or the next person will assume one.
More on the trade-offs is in ETL vs ELT.
A worked example: row counts and freshness
Sample data: one nightly run of a pipeline for an online product. It pulls app events, order rows and a partner CSV, then loads a reporting table.
Row-count reconciliation for the app events source
- Extracted from the source: 2,400,000 rows.
- Rejected at validation (missing user ID or timestamp): 12,000 rows, 12,000 ÷ 2,400,000 = 0.5%.
- Removed as duplicates (same event ID received twice): 36,000 rows, 36,000 ÷ 2,400,000 = 1.5%.
- Loaded: 2,400,000 − 12,000 − 36,000 = 2,352,000 rows, 98.0% of extracted.
The rule is extracted = loaded + rejected + deduplicated, with zero unexplained rows. If the run shows 2,351,000 loaded, a thousand rows went missing without a reason, and the run should fail loudly rather than publish. Rejected rows go to a quarantine table with the reason, so the 0.5% can be inspected rather than silently lost.
Freshness budget
- Ingest 5 minutes, staging load 10, clean and conform 25, model and publish 5: 5 + 10 + 25 + 5 = 45 minutes per run.
- The run starts every 60 minutes. A row that arrives just after a run starts waits up to 60 minutes for the next one and 45 minutes to finish, so the worst-case age at publish is 60 + 45 = 105 minutes.
If the business needs numbers fresher than 105 minutes, you have three levers: run more often, shorten the slowest stage (cleaning at 25 minutes is the obvious target), or move that one metric to a streaming path. Without writing the budget down, teams discover the limit when a stakeholder complains.
Rows through one nightly run
one nightly run, app events sourceExtracted
2,400,000
Passed validation
2,388,000
Loaded after dedupe
2,352,000
Quality gates and monitoring
Put a gate at each layer boundary instead of one check at the end:
- After ingest: row count within an expected range, newest timestamp not older than the schedule allows.
- After staging: the raw copy exists and matches the extract count.
- After cleaning: reconciliation holds; null rate of required fields under a threshold; keys unique.
- After modelling: totals tie to the source (for instance, order revenue in the report equals revenue in the orders table for the same dates); metric definitions come from one place.
- On a schedule: alerts on freshness (no successful run within 2 intervals) and on volume (rows today under 50% of the trailing seven-day median).
The numbers in the last item are starting points; tune them from your own history. The point is that a failure should page someone within an interval, not be found in a dashboard review.
A design checklist you can copy
- List the sources, who owns each, how they are read and how often they change shape.
- Decide batch, streaming or hybrid per metric, using the freshness each decision really needs.
- Keep raw data unchanged in staging and record load time and source.
- Write the reconciliation rule for each source and make a failure stop the publish.
- Quarantine rejects with reasons instead of deleting them.
- Define each metric once, in the model layer.
- Write down the freshness budget and alert on it.
- Make every step rerunnable for a date range.
Where TapCub fits
Take the product events in the example. TapCub is not an ETL tool for your warehouse: it does not read your databases or orchestrate your jobs. It covers the collection-to-report path for behavioural data, and a few of its pages map onto the gates above.
- Send events from the website script, an app SDK or the server HTTP interface, so ingest and staging happen in one project. Use All-platform analytics › Data › Data import for CSV events, CSV user properties or Nginx and Apache logs, up to 100,000 rows per file.
- Record the events you plan to collect in All-platform analytics › Data › Tracking plan, with required properties. Turn on live validation (last 24 hours) to see arrivals per event and how complete the required properties are; that is the quality gate for layer 3.
- New event names land in All-platform analytics › Data › Event inbox until someone claims them, which works like a quarantine for unplanned events.
- Check All-platform analytics › Data › Data quality for the health of what has been collected.
- For a copy of the raw detail, request an asynchronous export in All-platform analytics › Data › Data export. Raw detail past the retention period has already been deleted, so schedule exports inside it.
TapCub does not run transformations in your warehouse; it measures and analyses the behavioural data you send to it.
FAQ
What are the components of ETL architecture?
Sources, an ingestion step, a staging area, a clean-and-conform step, a delivery layer that builds the tables people query, and an orchestration and monitoring layer. Many diagrams stop at the first four and omit the last, which decides how reliable the pipeline is.
What are the three layers of ETL?
Extract, transform and load: copy raw data from sources into staging, clean and reshape it, then load it into the target. Most architectures add orchestration and monitoring around those three.
Is ETL a data warehouse architecture?
ETL is the process that fills a warehouse; the architecture is the surrounding design. Kimball's model describes 34 subsystems across extraction, cleaning, delivery and management for a dimensional warehouse.
What is the difference between ETL and ELT architecture?
In ETL data is transformed before it is loaded; in ELT raw data is loaded first and transformed inside the target. ELT removes a separate staging area and uses the target's compute. The layers are the same either way.
Do I need streaming?
Only for metrics that must be fresh within seconds or minutes. For reports read once a day, batch is simpler to run and to rerun. A hybrid design streams only the few metrics that need it.
Sources
Was this article helpful?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Product Experience Specialist
Writes about product experience, practical workflows, and growth, turning complex processes into clear steps for everyday decisions.
