How to Choose a Data Architecture Pattern
A practical enterprise data modeling pattern or illustrative case study.
State the decision, process or exchange to support, its users and the consequence of delay or error. Separate required behavior from a proposed technology. Identify what must remain authoritative and what is out of scope.
Describe the problem
State the decision, process or exchange to support, its users and the consequence of delay or error. Separate required behavior from a proposed technology. Identify what must remain authoritative and what is out of scope.
Characterize constraints
Record volume, freshness, concurrency, history, availability, recovery, security, privacy, retention, interoperability and skills. Identify which are hard constraints and which are preferences. Validate with owners rather than relying on assumptions.
Compare candidate patterns
Consider centralized or domain-owned responsibilities, batch or event-driven exchange, warehouse or lakehouse approaches, and normalized, dimensional or graph representations as relevant. Compare each against the requirements, migration cost, failure modes and ongoing operations.
Decide and revisit
Document the selected approach, alternatives, trade-offs, evidence, owner and review triggers. Use a small representative proof of concept for uncertain behavior. Reassess when workloads, operating model or source capabilities change.
Apply the pattern
Confirm business meaning, workload, ownership and constraints with the people responsible for the system and its consumers. Use representative test cases and record assumptions, exceptions and change responsibilities.
Begin with system context
Describe the outcome, producers, consumers, data sensitivity, latency, volume, change rate and operational constraints. Map where records are created, transformed, stored and published. Identify which boundaries require independent ownership or a stable contract. The same pattern can behave differently depending on these conditions.
Compare patterns by quality attributes
Evaluate correctness, availability, latency, scale, recoverability, security, evolvability, cost and team capability. Make trade-offs concrete: for example, a batch pattern may accept a known freshness delay in exchange for simpler reconciliation; streaming may reduce latency while adding ordering, replay and operational concerns.
Compare alternatives using identical scenarios, including late data, source failure, schema change and consumer growth. Measure where possible, and label assumptions where evidence is unavailable. Do not choose a pattern based on architecture fashion or a component diagram alone.
Combine patterns with explicit boundaries
Many architectures combine operational stores, event flows, analytical warehouses, lake storage and semantic layers. Define why each component exists, what data crosses it, who owns the contract and how failures are observed. Avoid duplicate stores without lineage or retirement plans.
Record and revisit the architecture decision
Capture context, alternatives, chosen pattern, consequences, validation evidence and the trigger for review. A new consumer, scale threshold, changed policy or repeated operational issue may invalidate the original assumptions. Keep the decision connected to models and contracts it affects.
- Are requirements and constraints written in measurable terms?
- Were alternatives tested with representative scenarios?
- Are ownership, recovery and security included?
- Is the combination of components understandable?
- Is there a signal for when to revisit the choice?
Worked example: choose batch or streaming
A fraud alert may need seconds-level latency, while a monthly financial close may prioritize completeness and controlled reconciliation. State how late data, duplicates, ordering, and corrections affect each decision. Streaming can reduce latency but adds continuous operation and state-management complexity; batch can simplify replay and validation but may not meet time-sensitive needs. A hybrid approach can publish provisional and reconciled views if consumers understand the difference.
Compare candidate patterns against volume, service target, cost, failure recovery, governance, and team capability. Include the smallest viable option and the cost of changing later. Test representative bursts and source outages. Record the specific trigger that would justify a different pattern.
Make the choice reversible where practical
Use stable contracts and preserve source events or reproducible inputs so processing can be rebuilt. Document how to replay without duplicate business effects. Assign owners for operations and consumer communication. Reassess the pattern when latency expectations, event volume, or recovery requirements change.
Use a pattern selection scorecard
Compare candidates against consistency, latency, volume, history, security, recovery, consumer count, team skills, and lifecycle cost. Score each with evidence and confidence, not subjective preference alone. Identify constraints that are non-negotiable and trade-offs that can be accepted. Include the cost of operating and changing the pattern.
After a prototype, revisit the scorecard with observed behavior. Update assumptions and note whether the pattern still fits. A small experiment should test a critical uncertainty, such as replay safety or join performance, rather than reproduce the entire system prematurely.
Record the pattern decision
Document requirements, candidates, evidence, trade-offs, owner, assumptions, and reassessment triggers. Link prototype results and operational responsibilities. This lets future teams distinguish a deliberate choice from an inherited convention.
Review a pattern pilot
Compare measured latency, reliability, cost, data quality, and operational effort with initial assumptions. Capture edge cases and consumer feedback. Decide whether to adopt, adapt, or reject the pattern based on evidence.
Document the result and trigger for revisiting the decision. Share reusable lessons with other teams.