How's Linear so fast? A technical breakdown
11–20 of 250 posts
Re: How's Linear so fast? A technical breakdown
#12Thanks for the read. It is a bit more complicated than you think. I completely rebuilt this sync engine + orm with relations, lazy loading etc, using Vue + Pinia in https://playcode.io . Google Linear’s videos, they explained in detail their architecture. Yes, I spent a few months. But it worth it. Every new field, model I need to add, it is so straightforward. I do love frameworks and foundations. They make live eas…
Re: How's Linear so fast? A technical breakdown
#13"A few milliseconds is all it takes to update an issue in Linear. A traditional CRUD app doing the same thing takes about 300ms."
"Any data sent between the client and server costs hundreds of milliseconds."
There’s no solving the problem of a large RTT between an HTTP client and server when it’s due to the speed of light.
But what you can do is locate the backend near users and make sure it’s fast.
For example, it’s very possible to run a web app backend within ~10ms RTT of most users and have the backend render responses within ~10ms too.
In other words, you can absolutely create a traditional CRUD app where doing the same thing takes more like 30ms, not 300ms.
Re: How's Linear so fast? A technical breakdown
#14https://github.com/tinyplex/tinybase seems kinda good maybe?
Re: How's Linear so fast? A technical breakdown
#15Thanks for the read. It is a bit more complicated than you think. I completely rebuilt this sync engine + orm with relations, lazy loading etc, using Vue + Pinia in https://playcode.io . Google Linear’s videos, they explained in detail their architecture. Yes, I spent a few months. But it worth it. Every new field, model I need to add, it is so straightforward. I do love frameworks and foundations. They make live eas…
Re: How's Linear so fast? A technical breakdown
#16Thanks for the read. It is a bit more complicated than you think. I completely rebuilt this sync engine + orm with relations, lazy loading etc, using Vue + Pinia in https://playcode.io . Google Linear’s videos, they explained in detail their architecture. Yes, I spent a few months. But it worth it. Every new field, model I need to add, it is so straightforward. I do love frameworks and foundations. They make live eas…
what google linear video?
Re: How's Linear so fast? A technical breakdown
#17Re: How's Linear so fast? A technical breakdown
#18> A traditional CRUD app doing the same thing takes about 300ms. 300ms seems like a lot. Even if this includes the whole http request+response it still seems unbelievably long.
RTT from Hyderabad to the East Coast USA is ~300ms.
Then you have execution and database retrieval.
Re: How's Linear so fast? A technical breakdown
#19Re: How's Linear so fast? A technical breakdown
#20Whole blog post is basically: Make a mutation in the clientside, assume it worked, and save in the background.