Sold by Mighty Ape
Build collaborative apps that feel instant-even offline. Real-Time Collaboration Engines: CRDTs and Operational Transforms is your hands-on guide to designing editors, whiteboards, and data sync that never lose user work. You’ll compare Operational Transform (OT) and CRDT approaches, then implement production-ready sync with clear patterns, test strategies, and performance tips.
What you’ll learn (and build)
Foundations that matter: causality (Lamport & vector clocks), eventual consistency, convergence, commutativity, and idempotency-explained with visuals and code.
OT in practice: transform functions, inclusion/exclusion transforms, rebasing, server roles, cursor & selection mapping, and starvation avoidance.
CRDTs in practice: state- vs operation-based, delta-CRDTs, sequence & map CRDTs (RGA, Logoot/LSEQ), tombstone handling, compaction/GC, and memory control.
Real apps: rich-text and code editors (ProseMirror/CodeMirror/Monaco), docs & whiteboards, presence/awareness, comments, and cross-device cursors.
Networking & scale: WebSocket/WebRTC topologies, fan-out vs mesh, snapshotting, sharding, persistence, and Raft/consensus interplay-without giving up local-first UX.
Security & governance: authZ models, ACLs, end-to-end encryption options, audit trails, and abuse-resistant rate-limits.
Quality gates: property-based tests, fuzzing, simulation of partitions/clock skew, perf budgets, and CI pipelines.
By the end, you’ll ship a collaboration engine that syncs fast, converges correctly, and scales to real users. Grab the eBook, paperback, or hardcover-then turn “conflicts” into “done.”
We are committed to protecting your rights under the Consumer Guarantees Act and working with our suppliers to assist with warranty claims. Products sold by Mighty Ape will be covered by a Manufacturer's Warranty for at least a one-year period from the date of purchase.
Your warranty will cover any manufacturing defects which, if existing, will present themselves within this warranty period.
Your warranty will not cover normal wear and tear, faults caused by misuse, and accidents which cause damage or theft caused after delivery. Using the product in a way it is not designed for will void your warranty.
Please refer to our Help Centre for more information.