Design Cross-Device Sync for ChatGPT Conversations, Projects and Settings

Last updated: November 29, 2026

Quick Overview

Design how ChatGPT keeps conversations, project folders, memory and settings consistent across a user's web, desktop and mobile clients, including offline edits on mobile.

OpenAI
System Design
Software Engineer
OpenAI
November 29, 2026
Software Engineer
Onsite
System Design
Medium

0

0

0 solved


Design how ChatGPT keeps conversations, project folders, memory and settings consistent across a user's web, desktop and mobile clients, including offline edits on mobile.

Many ChatGPT users switch between phone, laptop and desktop app within a day. The interviewer wants a clear sync protocol, a sensible consistency choice per data type, and efficient incremental updates instead of reloading everything.

What the Interviewer Expects
  • Classify data: append-only messages, mutable metadata, settings, memories
  • Use a per-user change log with a cursor for incremental sync
  • Push change hints to online devices and pull deltas
  • Choose conflict rules per type (last writer wins, merge, server authority)
  • Handle offline queues on mobile and replay safely
  • Bound initial sync cost for heavy users
Key Topics to Cover
sync protocols
change logs
conflict resolution
offline-first
push notifications
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • What happens if a user renames a conversation on two devices while offline?
  • How does a new device bootstrap with 10,000 conversations?
  • How do you handle a message started on the phone and continued on desktop while still streaming?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements
  • Data: conversation list and titles, messages, project folders, pinned items, custom instructions, memories, settings.
  • Changes appear on other online devices within a couple of seconds.
  • Mobile su...
High-Level Design
  • Per-user change log: every mutation writes a row (user_id, seq, entity_type, entity_id, op, version) with a monotonically increasing seq per user (assigned by the user's shard).
  • **Sync API...

Submit Your Answer
Markdown supported