Multiple ChoiceIntermediate 45s
Sync engine design: checkpointing
Your sync engine replays a change log per device. Which mechanism best ensures a device resumes correctly after being offline for a long time?
Options
- 1Persist an opaque sync cursor/checkpoint per client and request deltas since it
- 2Re-download the entire dataset from the server on every reconnect attempt
- 3Compare wall-clock timestamps across all rows on each device to detect changes
- 4Ask the user to re-login so the local database is reset to a clean empty state
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.