Grokking Modern Mobile System Design Interview
Vote

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:

FactPossible owner
The server has confirmed that the article is savedServer account data
The app's last known confirmed statusLocal repository data

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content