---
answer: direct
beat: system-design
source: 1 article · updated: November 14, 2026
---

Why must a chat system store a message before confirming it?

Otherwise a crash between confirming and storing leaves the sender looking at a message that no longer exists. Persist-first means any message the user sees as sent is in stable storage, and a failure produces a clear error, not a silent loss that users discover later.

Answered in

Real-Time Chat That Never Lies: Persist Before You Broadcast, and Cache the Cold Start

Why send flows must store a message before showing it, how an approximation of atomic broadcast works, and why session bootstrap needs an edge cache.

Crashtech Editorial November 14, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.