Server sync design
You need to sync a notes app's local database with the server. Downloading everything each time is slow and burns data. How would you design a delta sync protocol?
You need to sync a notes app's local database with the server. Downloading everything each time is slow and burns data. How would you design a delta sync protocol?
You take only the changes after a server cursor (a change sequence) and store the new cursor. You apply them so the transaction and the cursor update are atomic, which makes a partial failure safe.
iOS system designMultiple choiceAdvanced
In an offline-first to-do app, two devices edit the same item while offline and then…
#sync #tombstone #conflict
PersistenceShort answerExpert
You want to add iCloud sync across devices to a SwiftData/Core Data app that has been…
#sync #conflict
iOS system designShort answerBasics
Design a simple notes app. Walk me through the architecture, how you store the data, and…
#sync #conflict
iOS system designShort answerAdvanced
Design the "this month's spending and remaining limit" card in a credit card app. The…
#offline #conflict