⚖️ Software Design & Architecture · Architecture Evaluation Factors
Data Integrity
Keeping data accurate, consistent, valid, and complete.
The system should prevent impossible or contradictory data states.
An order cannot be marked Paid unless a valid payment transaction exists.
💡 Like a ledger that must always balance — the system refuses entries that don't add up.
💡 Why it matters
Data is the business's memory. If it becomes wrong or contradictory, reports lie, decisions go bad, and trust is lost. Integrity keeps data accurate, consistent and valid.
🛠️ How to achieve it
⚠️ Signs of trouble
- •Reports don't reconcile or contradict each other.
- •Records exist in impossible states (e.g., Paid with no payment).
- •Orphaned or duplicate records pile up.
🎯 Quick check
Score: 0/2Three questions to test the idea.
1. Data integrity mainly keeps data…
Answer: Accurate, consistent, valid and complete
Integrity is about correctness and consistency of the data itself.
2. The safest place to stop an order being 'Paid' without a payment is…
Answer: At the data layer, so every path obeys it
Rules at the data layer apply to every path — UI, API, imports and jobs alike.
