System Design

Design ChatGPT (Streaming Chat with Branching & Share-link)

hardAI
Asked at
GitHub
Notion
OpenAI
Perplexity
Vercel
GitHub, Notion, OpenAI, Perplexity, Vercel

Problem statement

Design a streaming chat product like ChatGPT — token-by-token SSE rendering, the message tree that makes regenerate work, AbortController-based stop, and frozen share-link snapshots. Mentor-tone walkthrough with three flow diagrams.

Premium

The full solution is part of HelloFrontend Pro

The question above is free to read in full. Upgrade to unlock the interactive workspace and the senior-level walkthrough that go with it.

  • Full RADIO-framework walkthrough with architecture diagrams
  • Data model, API design, and rendering strategy trade-offs
  • Performance, accessibility, and offline sections plus a model answer
Unlock the full solution →

Already a member? Log in to open the workspace.

More System Design questions

View all System Design →