Linear's Speed Secrets: Local‑First Architecture and Sync Engine
Linear achieves near‑instant UI updates by storing data in the browser with IndexedDB, applying optimistic local mutations, and syncing changes through a custom engine over WebSockets. This local‑first approach eliminates network latency for most interactions, letting the app feel instantaneous even at scale. The post details the architecture, sync strategy, and design choices behind the performance.