TLDR Web Dev · ARTICLES & TUTORIALS

REVERSE ENGINEERING LINEAR'S SYNC ENGINE: A DETAILED STUDY (1 HOUR READ)

github.com

Summary from the TLDR Web Dev newsletter

This document reverse-engineers Linear's Sync Engine (LSE). LSE uses models defined with JavaScript classes and decorators, using MobX for observability and a sophisticated bootstrapping and lazy loading system. Client-side changes are sent as transactions to the server and are managed using a transaction queue, with conflict resolution handled using a "last-writer-wins" strategy.