Technology

Data Pipeline Architecture Explained

Understand the core layers, common patterns like ELT and Medallion, and best practices for building robust data pipelines.

Daniel Singer

By Daniel Singer, Editor, StartupHub.ai

3 min read

Diagram illustrating data pipeline architecture with layers and flow.
Understanding the blueprint for data flow is crucial.
Visual TL;DR
Databricks PlatformCore
From the article 3 mentionsDatabricks, for instance, unifies batch and streaming pipelines on a single platform, known as data pipeline architecture, eliminating the need for redundant infrastructure.
Data Pipeline ArchitectureContext
blueprint for data collection, processing, storage, and delivery
From the article 8 mentionsData pipeline architecture is the blueprint detailing how data is collected, processed, stored, and delivered.
Core LayersContext
four fundamental layers: ingestion, processing, storage, and delivery
From the article 2 mentionsEvery data pipeline shares four fundamental layers, each addressing a specific aspect of the data's journey.
Logical & Physical DesignContext
dictates data flow, transformation timing, and tool selection
From the articleIt operates on two levels: logical design (the 'what') and physical design (the 'how').
Common PatternsContext
ELT and Medallion architectures for data flow
From the articleChoosing the right architectural pattern depends heavily on latency requirements, data volume, and downstream usage.
Orchestration & MonitoringContext
From the article 3 mentionsOrchestration and monitoring span the entire process, ensuring smooth operation.
ETL vs. ELTContext
transforming the data flow timing and location
From the article 3 mentionsELT offers greater flexibility and keeps raw data accessible for reprocessing, a key advantage over ETL's less adaptable approach.
Robust PipelinesEffect
achieved through strategic design and tool selection
From the article 6 mentionsIt's not the pipeline itself, but the strategic design behind its flow, transformation points, and tool selection.
Contents(3)

Data pipeline architecture is the blueprint detailing how data is collected, processed, stored, and delivered. It's not the pipeline itself, but the strategic design behind its flow, transformation points, and tool selection. The architecture must align with the specific use case, whether it's real-time fraud detection or a nightly sales report.

This foundational blueprint dictates the choices about data flow, transformation timing, and the tools employed at each step. It operates on two levels: logical design (the 'what') and physical design (the 'how'). Orchestration and monitoring span the entire process, ensuring smooth operation.

Databricks, for instance, unifies batch and streaming pipelines on a single platform, known as data pipeline architecture, eliminating the need for redundant infrastructure.

Core Layers of a Data Pipeline

Every data pipeline shares four fundamental layers, each addressing a specific aspect of the data's journey.

  • Ingestion: Pulls data from sources like databases, APIs, files, and sensors. It can be batch (scheduled) or streaming (continuous), often employing change data capture (CDC) to move only new or updated information.
  • Processing and Transformation: Cleans, reshapes, enriches, and prepares raw data. This includes fixing errors, standardizing formats, joining datasets, and applying business logic. Like ingestion, it can be batch or stream-based.
  • Storage: Houses processed data in destinations like data lakes, data warehouses, or lakehouses. Open formats like Delta Lake ensure reliability with ACID transactions and time travel capabilities.
  • Serving and Consumption: Delivers prepared data to end-users, analysts, data scientists, and applications via BI tools, ML platforms, or APIs.

Across these layers, orchestration and observability provide essential connective tissue, managing schedules, tracking data quality, and alerting on failures.

The daily brief

Get the free daily brief with the day's AI news, new AI startups and funding rounds every morning.

Join 64,000 other subscribers.

Common Data Pipeline Architecture Patterns

Choosing the right architectural pattern depends heavily on latency requirements, data volume, and downstream usage.

  • Batch Architecture: Processes data in scheduled chunks, suitable for reporting and historical analysis where minor delays are acceptable. It's simpler and cheaper than streaming.
  • Streaming Architecture: Processes data continuously as it's generated, ideal for real-time applications like fraud detection or IoT monitoring, but typically more expensive.
  • Lambda Architecture: Uses parallel batch and streaming paths, merging results for accuracy and speed. However, it doubles the operational burden and code duplication.
  • Kappa Architecture: Simplifies Lambda by using a single streaming pipeline for all data processing, replaying streams for historical analysis.
  • Medallion Architecture: Organizes data into Bronze (raw), Silver (cleaned), and Gold (curated) tiers on lakehouse platforms, simplifying management and troubleshooting.

ETL vs. ELT: Transforming the Data Flow

The order of transformation significantly shapes a pipeline's architecture. ETL (Extract, Transform, Load) transforms data before loading, often used in legacy systems. ELT (Extract, Load, Transform) loads raw data first and transforms it within the destination, now dominant in cloud environments due to elastic compute and cost-effective storage.

ELT offers greater flexibility and keeps raw data accessible for reprocessing, a key advantage over ETL's less adaptable approach.

Mentioned in this story

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsData EngineeringData ArchitectureETLELTData WarehousingData LakesLakehouseBatch Processing

Daniel Singer

Written by

Daniel Singer

Editor, StartupHub.ai

Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute, free.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.