Single Source of Truth (SSOT): One Place for Every Fact
A Single Source of Truth (SSOT) means every piece of data has one authoritative home. Instead of emailing report_v3.docx, you share one link. This prevents conflicts between billing and shipping data.
Why it exists
Without a central authority, data gets copied across systems. When one copy changes, the others become stale and incorrect. This leads to conflicting reports, wrong decisions, and bugs. For example, does the sales team or the support team have the customer's real phone number? SSOT was created to solve this ambiguity and enforce data consistency.
The mental model
SSOT is the practice of structuring systems so every data element, like a customer's email, is owned and updated in exactly one place. All other systems that need this data must refer to or query this single source. It's the difference between emailing report_final_v3.docx around and sharing a link to a single, live document where all changes are centralized.
How it works
SSOT is an architectural principle, not a single technology. It's implemented by designating a specific service or database as the "master" for a piece of information. For instance, a UserService might be the SSOT for user profiles, while a BillingService is the SSOT for payment information. When a ShippingService needs a user's address, it must ask the UserService; it is not allowed to store and maintain its own copy. This is enforced through API contracts and system design.
When to use it
Use SSOT in any system where data consistency is critical, especially in microservices architectures where different services need to agree on shared data. It is essential for financial reporting, regulatory compliance, and any scenario where conflicting data could cause serious business or operational problems.
When not to use it
Strictly enforcing SSOT can create performance bottlenecks or single points of failure. If the UserService is down, no other service can get a user's address. For this reason, systems often use caches or read-replicas. The key is that these are explicitly treated as temporary, potentially stale copies, not as alternative sources of truth. The architectural discipline remains.
One canonical example
A company's Human Resources Information System (HRIS) is the SSOT for employee data like name, title, and start date. The payroll system, IT provisioning tools, and the company directory all pull from the HRIS. If an employee is promoted, the change is made once in the HRIS, and all downstream systems reflect that update. No one has to update three different spreadsheets.
Interview question
What primary issue does implementing a Single Source of Truth (SSOT) architecture aim to resolve?
- a.The challenge of securing sensitive data stored in multiple locations.
- b.The difficulty of integrating diverse data formats from various systems.
- c.The existence of conflicting or outdated versions of the same information across an organization.Correct
- d.Performance bottlenecks caused by excessive data replication across services.
Why? this is the answer
SSOT's core purpose is to eliminate data inconsistencies and conflicting information that arise when the same data exists in multiple places and gets updated independently. While SSOT can sometimes introduce performance bottlenecks, its primary goal is data consistency, not performance optimization.
Just read this? Test yourself on what you have been reading.
Read the original → en.wikipedia.org
- #data architecture
- #systems design
- #data integrity
Put your scrolling time to good use
Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Open roles that interview on data architecture — each one lists the topics its interview covers.
See open roles