All posts

Engineering

9 min read

Inside our real-time sync engine

Inside our real-time sync engine

Inside our real-time sync engine

How we keep thousands of workspaces in sync with sub-100ms latency, and why we rebuilt the engine from scratch.

Mateo Silva

A smooth gradient shifting between deep blue and dark grey tones

Why we rebuilt it

Our first sync engine was built for small teams. As workspaces grew to thousands of projects, latency crept up and conflicts became more common. We needed something designed for scale from day one.

The new engine uses an operation log with per-object ordering, so edits from different people rarely conflict. When they do, we resolve them deterministically on every client.

The results

Median sync latency is now 64ms across regions, and conflict rates dropped by 92%. Most people will never notice, which is exactly the point.

Create a free website with Framer, the website builder loved by startups, designers and agencies.