---
title: "Design: chat and messaging"
description: "Design a chat service: what sent promises, accepting and ordering one message, catching up after a dropped connection, several devices, and group delivery."
canonical_url: "https://fanout.sh/system/archive/chat-and-messaging-system-design"
md_url: "https://fanout.sh/system/archive/chat-and-messaging-system-design.md"
last_updated: "2026-11-11"
access: "pro-preview"
---

# Design: chat and messaging

Design a chat service: what sent promises, accepting and ordering one message, catching up after a dropped connection, several devices, and group delivery.

- Access: Fanout Pro (public preview)

## The core idea

A chat service keeps a conversation available when its participants come and go.

It accepts messages, establishes their order, and lets devices catch up after losing a connection.

## In this lesson

- What does “sent” promise?
- Conversation history and live delivery
- Accepting one message
- The data and API behind the example
- Catching up without losing a message between requests
- One account, several devices
- Groups change the delivery work
- Membership, retention and failure
- Run the offline-recipient example

## Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.

---
This representation contains public Fanout content only. Protected Pro lessons, account data, billing, checkout, and pricing are not included.

Browse the public content map: https://fanout.sh/sitemap.md
