Grokking Modern Mobile System Design Interview
0% completed
The Single Source of Truth
A single source of truth is the defined authority for a particular fact. It gives the app a consistent rule for reading and changing that fact.
It does not mean that every value belongs in one database. Different facts can have different owners.
Separate the facts before choosing the owner
Consider a saved article:
| Fact | Possible owner |
|---|---|
| The server has confirmed that the article is saved | Server account data |
| The app's last known confirmed status | Local repository data |
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%