Design Offline Editing and Conflict Merge for Google Keep Notes
Last updated: November 29, 2026
Quick Overview
Design sync for Google Keep so users can create and edit notes and checklists offline on phones, web and watches, then merge changes from several devices without losing edits when they reconnect.
0
0
0 solved
Design sync for Google Keep so users can create and edit notes and checklists offline on phones, web and watches, then merge changes from several devices without losing edits when they reconnect.
Keep is used on flaky mobile networks and by families sharing lists, so this checks offline-first architecture: local storage, change logs, and per-field merge rules. The interviewer wants a reasoned conflict policy rather than blanket last-writer-wins.
What the Interviewer Expects
- Use a local database as the primary data store on each client
- Track changes with per-object versions and a server change log
- Merge at field and checklist-item granularity
- Handle deletes with tombstones
- Keep sync efficient with incremental cursors
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
- What happens if two people edit the same sentence in a note offline?
- How do you order checklist items reordered on two devices?
- How long do you keep tombstones?
- How do you sync a note shared with a family member?
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
Functional: notes with title, body text, color, labels, reminders, and checklists (items with text, checked, order). Edit offline; sync automatically; share notes with collaborators.
**Non-functi...
High-Level Design
- Client local store: SQLite with notes, items and a pending changes queue. The UI reads and writes only locally.
- Sync service: receives client change batches, applies them with conflict rul...