ArchSketch

Architecture templates › Data pipeline

Modern data pipeline (lakehouse) architecture template

Free editable data pipeline architecture diagram - sources, streaming ingestion, a data lake, batch transforms, a warehouse and BI.

Open and edit this diagramStart from a blank canvas

Modern data pipeline (lakehouse) architecture template diagram
Drawn with ArchSketch.

How it works

A modern data platform moves data from operational systems into a place where it can be analysed, without hurting the systems that produced it. Raw data lands first in cheap object storage (the lake), then is cleaned and modelled into a warehouse.

This template includes both paths - a streaming path for fresh data and a batch path for heavy transforms. Keeping the raw copy means you can always rebuild the downstream tables when logic changes.

Step by step

  1. Operational databases, third-party APIs and product events are the sources.
  2. Change data capture and event collectors push them into a stream; batch connectors copy the rest on a schedule.
  3. Everything lands untouched in the raw zone of the data lake.
  4. A scheduler runs transform jobs that clean and model the data into the warehouse.
  5. BI dashboards and ML models read from the warehouse; a catalog and monitoring keep it trustworthy.

The YAML behind this diagram

Every diagram here is plain text. Paste it into ArchSketch (menu → Diagram from YAML) to edit it, or keep it in your repo next to the code.

nodes:
  - { id: oltp, kind: sql, label: App database, zone: Sources }
  - { id: saas, kind: external, label: Third-party APIs, zone: Sources }
  - { id: events, kind: web, label: Product events, zone: Sources }
  - { id: stream, kind: stream, label: Event stream, zone: Ingestion }
  - { id: batch, kind: worker, label: Batch connectors, zone: Ingestion }
  - { id: lake, kind: bucket, label: Data lake (raw) }
  - { id: sched, kind: scheduler, label: Orchestrator, zone: Transform }
  - { id: transform, kind: worker, label: Transform jobs, zone: Transform }
  - { id: wh, kind: warehouse, label: Warehouse }
  - { id: bi, kind: web, label: BI dashboards, zone: Consumers }
  - { id: ml, kind: ml, label: ML models, zone: Consumers }
  - { id: mon, kind: monitor, label: Data quality }
links:
  - oltp -> stream : CDC
  - events -> stream
  - saas -> batch
  - stream -> lake
  - batch -> lake
  - sched -> transform : triggers
  - lake -> transform
  - transform -> wh
  - wh -> bi
  - wh -> ml
  - transform -> mon : checks

Use it in your README

Commit your own arch.yaml and embed the always-up-to-date picture:

![Architecture](https://cloudforge.in/render?src=OWNER/REPO/arch.yaml)

YAML format reference