Design Offline-First List Sync for Microsoft To Do
Last updated: November 29, 2026
Quick Overview
Design sync for Microsoft To Do so that a user can add, complete, reorder and edit tasks on phone, PC and web, including while offline, and every device ends up with the same lists.
Microsoft
November 29, 20260
0
0 solved
Design sync for Microsoft To Do so that a user can add, complete, reorder and edit tasks on phone, PC and web, including while offline, and every device ends up with the same lists.
A focused sync question for client and service engineers. Microsoft interviewers check whether you keep a local store with a change queue, use a server change feed, pick simple field-level conflict rules, and handle ordering of items in a list.
What the Interviewer Expects
- Keeps a local database as the client source of truth with an outbox of pending changes
- Uses server change tokens (delta sync) to pull remote changes
- Resolves conflicts per field, not per whole task
- Uses fractional or rank-based ordering for reorders
- Assigns client-generated ids so offline creates work
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- Two devices reorder the same list offline. What order wins?
- How do you avoid a newly created task appearing twice after a retry?
- How does a phone that has been offline for a month catch up?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Lists and tasks with title, notes, due date, completed flag, position. Works fully offline. When online, changes reach other devices within seconds. Conflicts are resolved automatically and predictabl...
High-Level Design
Client: local database (SQLite) with tables for lists and tasks, plus an outbox of pending operations. The UI reads and writes only locally. A sync worker drains the outbox to the **task servi...