← All postsEngineering

Scaling our sync engine to millions of edits

How CRDTs and a lean relay keep collaboration fast at scale.

EngineeringS

Real-time collaboration is hard the moment two people type at once. We use CRDTs so edits merge cleanly, even offline, with no central lock.

A lightweight relay fans changes out to every client in milliseconds, and local-first storage means the app stays responsive regardless of network.

The result: documents that feel instant, whether it’s two people or two hundred.

AS
Written by Alex S.

Part of the Ettex team — writing about product, engineering and the future of work.

More posts
Get the best of the Ettex blogProduct news, guides and tips — straight to your inbox, no spam.