Grokking Modern Mobile System Design Interview
Vote

0% completed

Sync and Conflict Resolution

A conflict occurs when changes cannot safely be accepted under the agreed concurrency rules. Detecting a conflict and deciding its outcome are different tasks.

Choose the resolution policy from the meaning of the data. A theme setting, a note body, and an inventory reservation should not automatically use the same rule.

Detect competing changes with a version check

Suppose a phone and laptop both read note revision 4. The laptop's edit is accepted as revision 5. The phone later submits its own edit based on revision 4.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content