01Chapter 1: Clarifying requirements and scopeThis chapter assumes basic client-server and HTTP concepts, database and key-value store familiarity, and a basic understanding of TCP and persistent connections.2 min read
02Chapter 2: Following a one-to-one message end to endAssume you know basic HTTP, persistent connections, databases, and short JavaScript or Python programs. The goal is to deliver a message between two users, preserve chat order, and avoid duplicates when the network fails.1 min read
03Chapter 3: Group chat and fan-out strategiesAssume you understand persistent connections, message IDs, acknowledgements, and basic key-value stores. This chapter focuses on how a chat system distributes events after a message enters the system.2 min read