Hello! Welcome to your fourth lesson.
In our last session, we itemized the individual components of the modern data stack—the specific tools for ingestion, storage, transformation, and reporting. We saw that a modern platform is a "best-of-breed" assembly of these tools.
Today, we will abstract away from the specific tools to understand the logical structure they form. The learning outcome for this lesson is to explain the concept of data architecture layers (ingestion, storage, processing, serving). As an enterprise architect, you're familiar with organizing complex software systems into layers (e.g., presentation, application, data). We'll apply the same thinking to the flow of data, which provides a powerful mental model for designing and analyzing data platforms.
The Core Layers of a Data Platform
A modern data platform is a coordinated system that manages the entire lifecycle of data. We can organize this system into a set of logical layers, each with a distinct responsibility. While different models exist, most are built around four fundamental layers.
How to Architect a Modern Data Platform in 2025
To start, let's get a formal definition for these layers. The article "How to Architect a Modern Data Platform in 2025" provides a concise overview.
Please read the section titled "The core layers of modern data platform architecture." This will introduce you to a common six-layer model, from which we will focus on the four most essential layers first: ingestion, storage, processing, and access (which we'll call serving).
The data flows through these layers, progressively being refined from raw material into a valuable, finished product. The diagram below illustrates this typical flow.

To bring these layers to life, we'll watch a short video that walks through a typical data pipeline, highlighting the function of each stage.
What is Data Pipeline? | Why Is It So Popular?
The video "What is Data Pipeline?" from ByteByteGo provides an excellent, animated overview of how data moves through these layers. We will watch it in segments as we discuss each layer.
First, watch the introduction from 00:00 to 00:55 to get a high-level overview of a data pipeline's stages.
Now, let's break down each layer in detail.
1. The Ingestion Layer
The Ingestion Layer is the "front door" of your data platform. Its sole purpose is to get data from a wide variety of source systems into your platform.
- Function: Connects to data sources (databases, APIs, SaaS applications, event streams) and moves data into the storage layer.
- Key Considerations:
- Batch vs. Streaming: Does data need to be collected in bulk on a schedule (e.g., daily sales figures) or captured in real-time as it's generated (e.g., website clicks)?
- Source Variety: The layer must handle structured data from databases, semi-structured data from APIs (JSON), and unstructured data like log files.
- Connection to Previous Lesson: This is where the "Data Ingestion" tools we discussed, like Fivetran, Airbyte, and Apache Kafka, operate.
What is Data Pipeline? | Why Is It So Popular?
Let's see how the video explains the first two steps: collecting data from sources and ingesting it into the pipeline.
Watch from 00:55 to 02:10. Notice the distinction between data stores (like databases) and data streams (like Kafka).
2. The Storage Layer
Once data is ingested, it needs a place to land. The Storage Layer is responsible for holding this data in a durable, scalable, and cost-effective manner. In modern architectures, this is rarely a single database.
- Function: Persists data for both its raw and transformed states.
- Key Components:
- Data Lake: Typically built on cloud object storage (e.g., Amazon S3, ADLS Gen2). This is where raw, unfiltered data is "dumped" upon ingestion. It's cheap and can store any type of data, making it the ideal landing zone in an ELT (Extract, Load, Transform) paradigm.
- Data Warehouse / Lakehouse: The analytical heart of the platform. This is where structured, cleaned, and modeled data is stored, optimized for fast querying and analysis.
- Connection to Previous Lesson: This layer is embodied by technologies like Snowflake, BigQuery, and the storage component of Databricks (Delta Lake on top of object storage).
What is Data Pipeline? | Why Is It So Popular?
Now, let's look at the storage options for our pipeline.
Watch from 03:26 to 04:07. The video discusses data lakes and data warehouses as primary storage destinations.
3. The Processing Layer
Raw data is rarely useful on its own. The Processing (or Transformation) Layer is where raw data is refined into valuable information. This is the "T" in both ETL and ELT.
- Function: Cleans, validates, combines, enriches, and aggregates data to make it ready for analysis.
- Key Activities:
- Applying business logic (e.g., calculating profit from revenue and cost).
- Joining data from different sources (e.g., combining customer data with order data).
- Creating aggregated summary tables for faster dashboard loading.
- Connection to Previous Lesson: This is the domain of the compute engines in Databricks (Apache Spark) and Snowflake, often orchestrated with tools like dbt.
What is Data Pipeline? | Why Is It So Popular?
The processing layer is where the heavy lifting happens. The video explains the two main modes of processing.
Watch from 02:10 to 03:26. Pay close attention to the difference between batch processing (for large volumes at intervals) and stream processing (for real-time data).
4. The Serving Layer
The Serving Layer (also called the Access or Consumption Layer) is the "storefront" of the data platform. Its purpose is to deliver the processed, valuable data to various end-users and applications.
- Function: Provides interfaces for data consumption.
- Consumers:
- Humans: Business analysts using BI tools, data scientists exploring data in notebooks.
- Machines: Downstream applications, ML models, or operational systems via "Reverse ETL."
- Connection to Previous Lesson: This layer includes "Reporting & Analytics" tools like Tableau and Power BI, as well as tools that feed data back into systems, like Census.
What is Data Pipeline? | Why Is It So Popular?
Finally, let's see how the finished data product is consumed.
Watch from 03:55 to 05:05. The video lists several types of consumers, from data scientists to BI tools.
Test your understanding!
Imagine you're designing a data platform for an e-commerce company. Map each of the following tasks to the primary layer responsible for it (Ingestion, Storage, Processing, or Serving):
- Loading a nightly CSV file of supplier inventory into Amazon S3.
- An analyst building a sales performance dashboard in Tableau.
- A Spark job runs to combine website clickstream data with customer purchase histories to identify popular product journeys.
- A data scientist queries a Snowflake table containing customer data.
- Data from Salesforce is pulled into the data lake every hour.
Show answer
- Ingestion Layer: This is a classic batch ingestion task—moving data from an external source (CSV file) into the platform's storage.
- Serving Layer: The analyst is a consumer of the data, using a BI tool to access and visualize it.
- Processing Layer: This is a transformation task. The Spark job is applying logic to join and analyze raw data to create new insights.
- Serving Layer: Although the query runs against the storage layer, the act of a user accessing the data for analysis falls under the serving layer's responsibility.
- Ingestion Layer: This is another ingestion task, pulling data from a SaaS source (Salesforce) into the platform.
Beyond the Core: A Richer View
The four-layer model is a powerful simplification. In practice, mature architectures include other critical layers that span across the core data flow. As an architect, these are crucial to consider.
- Orchestration Layer: This is the conductor of the data pipeline orchestra. It schedules jobs, manages dependencies (e.g., ensuring a processing job only runs after ingestion is complete), and handles retries. Tools like Apache Airflow and Dagster live here.
- Governance & Security Layer: This is a cross-cutting layer that applies to the entire platform. It's responsible for data quality, access control, data privacy (like GDPR compliance), and metadata management (e.g., a data catalog that helps users discover and understand data).
This more detailed view gives a fuller picture of a real-world system.

Conclusion
Today, we've structured our understanding of the modern data platform by organizing its components into logical layers. This layered view is essential for designing robust, scalable, and maintainable data systems.
Key Takeaways:
- Modern data architectures can be understood as a series of layers: Ingestion, Storage, Processing, and Serving.
- The Ingestion Layer is the entry point for all data, handling both batch and streaming sources.
- The Storage Layer uses data lakes for raw data and data warehouses/lakehouses for processed, analysis-ready data.
- The Processing Layer is where raw data is transformed into valuable information through cleaning, joining, and aggregation.
- The Serving Layer delivers the final data product to end-users and applications via BI tools, SQL queries, and APIs.
- Mature architectures also include critical cross-cutting layers for Orchestration and Governance.
In the next lesson, we will build upon this layered model by exploring major architectural patterns. We will start by asking a fundamental question: should this architecture be centralized or distributed? This will lead us into a discussion of centralized data warehouses versus decentralized approaches like the data mesh.