iGEN
Visit IGEN World Explore IGEN Expo
EXPLORE UPGRADE PLANS
BREAKING
Cass Report: Freight Volume Recovery On Track for Second Half of 2026 India Receives 32% Deficient Rains During June 1-15, IMD Data Shows ANNAM.AI and Syngenta Partner to Deliver AI-Driven Climate-Smart Agriculture to Indian Farmers Microsoft CEO Satya Nadella warns AI dominance could 'hollow out entire industries' Open-source Discord alternatives: What Stoat and Element actually fix - Engadget India launches producer price index; wholesale inflation gauge to be phased out in five years India, UK work to resolve issues holding up trade pact implementation, says official ‘Let the oil flow’: What Trump’s possible peace deal with Iran, Strait of Hormuz opening mean for India Samsung MAX VPN Shuts Down June 15, 2026, Leaving 50 Million Users Seeking Alternatives Why UK data sovereignty is the next competitive advantage for digital industries Cass Report: Freight Volume Recovery On Track for Second Half of 2026 India Receives 32% Deficient Rains During June 1-15, IMD Data Shows ANNAM.AI and Syngenta Partner to Deliver AI-Driven Climate-Smart Agriculture to Indian Farmers Microsoft CEO Satya Nadella warns AI dominance could 'hollow out entire industries' Open-source Discord alternatives: What Stoat and Element actually fix - Engadget India launches producer price index; wholesale inflation gauge to be phased out in five years India, UK work to resolve issues holding up trade pact implementation, says official ‘Let the oil flow’: What Trump’s possible peace deal with Iran, Strait of Hormuz opening mean for India Samsung MAX VPN Shuts Down June 15, 2026, Leaving 50 Million Users Seeking Alternatives Why UK data sovereignty is the next competitive advantage for digital industries
Home ›› Technology ›› Ai ›› Robotics ›› How Linear Achieves Millisecond Response Times: A Technical Breakdown for Enterprise Decision-Makers

How Linear Achieves Millisecond Response Times: A Technical Breakdown for Enterprise Decision-Makers

Linear's web app updates issues in milliseconds by treating IndexedDB as the primary database, applying mutations locally before syncing via WebSocket. Co-founder Tuomas built the sync engine from day one. For CTOs evaluating performance, this approach eliminates network bottlenecks and loading states.

iG
iGEN Editorial
June 14, 2026
How Linear Achieves Millisecond Response Times: A Technical Breakdown for Enterprise Decision-Makers

Enterprise software teams frequently struggle with UI latency: a traditional CRUD app takes about 300ms to update an issue, according to a technical breakdown by Dennis Brotzky. Linear, the project management platform, achieves response times measured in milliseconds. How? The company inverted the conventional client-server model.

Database in the Browser

Most web apps force users to wait on a network round trip: click, HTTP request, server query, response, repaint. “The biggest bottleneck you will fight is the network,” Brotzky writes. Linear eliminates that bottleneck by making the browser’s IndexedDB the primary database for the UI. Mutations apply locally first, then asynchronously push to the server, which broadcasts deltas to other clients via WebSocket.

In practice, updating an issue looks like this:

issue.title = "Faster app launch";  // updates in-memory datastore immediately
issue.save();                       // queues transaction for sync engine

The in-memory datastore uses MobX observables. The UI re-renders synchronously off the local update, eliminating spinners and skeleton screens. “Any data sent between the client and server costs hundreds of milliseconds. The best approach is to eliminate the need for a network request entirely,” Brotzky notes.

The Sync Engine as the Foundation

Linear’s co-founder Tuomas stated at a 2024 conference: “Literally the first lines of code that I wrote was the sync engine, which is very uncommon to what you usually do when you're a startup.” This engineering priority enabled the entire architecture. Brotzky, who has never worked at Linear but studied the app and its public content, emphasises that building a custom sync engine is not necessary for most companies. Libraries like Tanstack Query and SWR can achieve similar responsiveness with optimistic updates.

Aspect Traditional CRUD App Linear Approach
Data location Server database Browser IndexedDB (local first)
Mutation timing Await network response Apply locally, sync async
Typical latency ~300ms Milliseconds
Loading states Spinners, skeletons None
Key enabler None Custom sync engine + WebSocket

Optimistic Updates for the Enterprise

For enterprise procurement leaders evaluating software, the lesson extends beyond Linear. Brotzky argues that “most web apps feel slow because the UI waits for each network request to complete before updating state.” Using optimistic updates—assuming network success and rolling back on failure—can dramatically reduce perceived latency. The code pattern is simple:

mutate(`/api/issues/${issue.id}`, { title: "New title" }, { optimisticData: ... });

Designed for Speed from Day One

Linear’s architecture was not retrofitted; it was baked in from the start. Brotzky notes that “there's no secret silver bullet to performance. The reality is that it's built from the ground up on the right foundation, then improved by countless decisions.” For CTOs overseeing product development, this suggests that performance must be a first-class architectural concern, not an optimisation afterthought.

The techniques outlined—local-first data, optimistic mutations, and a sync engine—are directly applicable to any enterprise application where user experience and offline capability matter. While Linear is a project management tool, the underlying principles generalise to any web app that requires fast, collaborative editing.


Sources: Hacker News – Front Page

Keep Reading

Recommended Stories

How Apple's iOS 27 Boosts Older iPhone Speed and Extends Device Longevity Technology

How Apple's iOS 27 Boosts Older iPhone Speed and Extends Device Longevity

Apple's upcoming iOS 27 update brings platform stability improvements that make older iPhones, including the iPhone 11 from 2019, run faster and more responsively. Key gains include up to 30% faster app launches, 80% faster AirDrop transfers, and 70% faster photo library loading, achieved through CPU scheduler optimizations. The move supports Apple's services business—which hit $31 billion in revenue—and reinforces brand loyalty, though older devices miss new Apple Intelligence features.

June 15, 2026
Open-source Discord alternatives: What Stoat and Element actually fix - Engadget Technology

Open-source Discord alternatives: What Stoat and Element actually fix - Engadget

Enterprise CTOs evaluating communication platforms should consider open-source alternatives like Stoat and Element following Discord's controversial age-verification rollout and a third-party hack exposing user IDs. These self-hosted options offer data control and avoid subscription lock-in but require technical expertise.

June 15, 2026
Sarvam AI Raises $234M Led by HCLTech, Becomes India's Newest Unicorn Technology

Sarvam AI Raises $234M Led by HCLTech, Becomes India's Newest Unicorn

Sarvam, a Bengaluru-based AI startup, raised $234 million at a $1.5 billion valuation, led by HCLTech, becoming India's newest AI unicorn. The funding supports sovereign AI development with models tailored for Indian languages, deployed across banking, insurance, government, and defense.

June 15, 2026
Proton VPN Firefox Add-on Temporarily Unavailable Due to Mozilla Review Process Technology

Proton VPN Firefox Add-on Temporarily Unavailable Due to Mozilla Review Process

Proton VPN's Firefox browser extension has been pulled from the Mozilla Add-ons store after users reported an endless loading loop. Proton confirmed the issue is due to a Mozilla review requirement and advised users to switch to the desktop app. No return timeline has been provided.

June 15, 2026