44.1 Data Architecture Layers
┌─────────────────────────────────────────────────────────┐
│ Sources │ Ingestion │ Storage & Processing │
│ │ │ │
│ Source Systems ─▶│ Kinesis/Kafka │ S3 (Data Lake) │
│ (transactional, │ (Real-time) │ │ │
│ external feeds)│ │ ├── Raw Zone │
│ │ AWS Glue │ ├── Curated Zone │
│ │ (Batch ETL) │ └── Consumption │
│ │ │ Zone │
│ │ │ ▼ │
│ │ │ ┌──────────────────┐ │
│ │ │ │ Processing │ │
│ │ │ │ EMR/Spark │ │
│ │ │ │ Databricks │ │
│ │ │ └────────┬─────────┘ │
│ │ │ ▼ │
│ │ │ ┌──────────────────┐ │
│ │ │ │ Serving │ │
│ │ │ │ Redshift (DW) │ │
│ │ │ │ RDS (OLTP) │ │
│ │ │ │ OpenSearch (RAG) │ │
│ │ │ │ Feature Store │ │
│ │ │ └──────────────────┘ │
└─────────────────────────────────────────────────────────┘
44.2 Data Lake vs. Warehouse vs. Lakehouse vs. Mesh
| Approach | Description | When to Use |
|---|---|---|
| Data Lake | Centralized, single team manages, schema-on-read | Smaller org, single domain |
| Data Warehouse | Structured, schema-on-write | Analytics, reporting |
| Data Lakehouse | Lake + warehouse (Databricks/Delta Lake) | Best of both — ACID + flexibility |
| Data Mesh | Domain-owned, federated governance | Large org, multiple independent domains |
Data mesh in practice: each business domain (e.g., claims, coding, revenue) owns its data as a product — its own pipelines, quality SLAs, and API contracts — while a shared self-serve platform (common storage, catalog, access-control layer, observability) and federated computational governance keep it interoperable. Choose mesh when a lakehouse’s single central team becomes the organizational bottleneck, not by default.
44.3 Q&A
Q: Data lake, lakehouse, or mesh for a growing multi-domain enterprise? Start with a lakehouse (S3 + Delta Lake + Spark/Databricks) for ACID guarantees and unified analytics+ML — it is materially simpler to operate. Migrate toward data mesh only once a single central data team becomes a bottleneck across genuinely independent domains, since mesh trades operational simplicity for organizational scalability, and adopting it prematurely just adds governance overhead without the offsetting benefit.