Get the latest tech news

Reverse engineering of Linear's sync engine


A reverse engineering of Linear's sync engine for learning purposes. Endorsed by Linear's CTO. - wzhudev/reverse-linear-sync-engine

Unlike most mainstream local-first applications that use CRDTs, Linear's collaboration model aligns more closely with OT, as it relies on a centralized server to establish the order of all transactions. At the end of the bootstrapping process, after the persisted transactions are loaded, the client establishes a WebSocket connection to the server to receive incremental updates, or delta packets. The final phase of bootstrapping involves establishing a WebSocket connection to the server to receive incremental updates after loading persisted transactions from the local database.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of linear

linear

Photo of Reverse Engineering

Reverse Engineering

Photo of sync engine

sync engine

Related news:

News photo

LiveStore: State management based on reactive SQLite and built-in sync engine

News photo

Modders use reverse engineering to bring Mario Party 4 to PC, more GameCube games to follow | Super Smash Bros Melee and Metroid Prime decompilation may be next

News photo

MindsEye, from former Rockstar developers, wants to revive the tight, linear, cinematic blockbuster game