Define a stable diagram set for this architecture baseline.
This keeps diagrams focused and avoids over-documenting the same flow in multiple variants.
Use this baseline set:
- Context overview
- End-to-end flow with controls
- Dataflow processing view (
1or2diagrams) - Cloud Functions view (
1or2diagrams) - Hybrid storage/model view (BigQuery + Lakehouse/Iceberg)
Use one Dataflow diagram when streaming and batch/replay share most transforms.
Use two Dataflow diagrams when they differ materially in:
- input contracts/parsing
- watermark/windowing behavior
- dedup/replay strategies
- sink/write mode behavior
Templates:
- Shared view: 03-dataflow-shared.md
- Streaming view: 03a-dataflow-streaming.md
- Batch/replay view: 03b-dataflow-batch-replay.md
Use one Functions diagram when ingestion and trigger handlers are simple and coupled in one runtime concern.
Use two Functions diagrams when ingestion and event-trigger/orchestration handlers are independent deploy/ownership units.
Templates:
- Shared view: 04-functions-shared.md
- Ingestion HTTP/Webhook: 04a-functions-ingestion-http.md
- Trigger/Orchestration: 04b-functions-trigger-orchestration.md