Real-time products make distributed-systems behavior visible to every user. Connections drop, devices sleep, messages arrive twice, presence becomes stale, edits race, and thousands of clients may reconnect at once. Real-Time and Collaborative Systems is an advanced design guide for chat, presence, notifications, live documents, multiplayer experiences, and offline-capable applications. It connects persistent connections and session routing to durable state, ordering, fan-out, replay, synchronization, conflict resolution, and regional operation. Rather than promising instant synchronization, the book defines what accepted, delivered, visible, durable, and converged mean at each boundary. A continuously evolving collaborative product provides concrete scenarios for reconnect storms, hot rooms, offline edits, notification races, optimistic interfaces, and multi-region placement. Inside, you will learn how to: - Operate WebSocket and streaming connections through gateways and drains - Model presence, heartbeats, expiry, liveness, and ephemeral state - Design ordered chat, inboxes, fan-out, receipts, and offline delivery - Build reconnect protocols with cursors, replay, deduplication, and gap repair - Separate optimistic UI from durable acceptance and authoritative sequencing - Compare operational transformation, CRDTs, causality, and convergence costs - Handle media paths, hot rooms, abuse controls, overload, and regional failover - Observe and investigate failures using sequence-aware evidence and timelines The explanations draw on production engineering reports, open-source collaboration systems, executable labs, protocol envelopes, recovery drills, and design-review material. Security, privacy, mixed-version migration, and capacity planning are treated as part of the architecture rather than final checkboxes. Real-Time and Collaborative Systems helps backend and product-infrastructure engineers design experiences that remain understandable when users disconnect, reconnect, edit concurrently, or cross regions - without confusing fast delivery with correct convergence.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.