Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Scaling the Linear Sync Engine

    Linear

    2 HN recommenders · recommended in 5 months, 2023–2025

    YouTube

    1:06:08 · 37K views · Jun 29, 2023

    A Linear engineer talks about scaling the company's sync engine, which keeps client data local and synchronized. It follows an earlier talk on the same system.

    Recommended whenever local-first software, sync engines and CRDT alternatives come up, as a practical production account.

    Software Engineering & LanguagesWeb developmentDistributed systemsSoftware architecture & design
    1. 1:16:07
      React Helsinki February 2020Fraktio42K views • 6 years ago
    2. 19:36
      Your web app but good: Aaron Boodman (Local-First Conf)Local-First Conf8.3K views • 2 years ago
    3. 29:46
      The past, present, and future of local-first - Martin Kleppmann (Local-First Conf)Local-First Conf17K views • 2 years ago
    4. 1:08:17
      How We've Scaled DropboxStanford372K views • 14 years ago
    5. 54:44
      Differential SynchronizationGoogle TechTalks52K views • 17 years ago
    6. 41:06
      "Unison: a new distributed programming language" by Paul ChiusanoStrange Loop Conference45K views • 7 years ago
    7. 52:23
      Nicholas Zakas: Scalable JavaScript Application ArchitectureYUI Library68K views • 15 years ago
    8. 49:15
      Erlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsAppErlang Solutions50K views • 12 years ago
    9. 1:10:23
      "Systems that run forever self-heal and scale" by Joe Armstrong (2013)Strange Loop Conference86K views • 5 years ago
    10. 51:27
      Google I/O 2012 - Go Concurrency PatternsGoogle for Developers894K views • 14 years ago
    11. 43:39
      CRDTs and the Quest for Distributed ConsistencyInfoQ68K views • 8 years ago
    12. 52:41
      Seattle Conference on Scalability: YouTube ScalabilityGoogle TechTalks30K views • 19 years ago
    13. 38:43
      Scalability at YouTubeNext Day Video51K views • 14 years ago
    14. 46:15
      AWS re:Invent 2014 | (SPOT302) Under the Covers of AWS: Its Core Distributed SystemsAmazon Web Services10K views • 11 years ago
    15. 1:02:50
      The Language of the System - Rich HickeyClojureTV174K views • 13 years ago
    16. 1:22:45
      Building Software Systems At Google and Lessons LearnedStanford257K views • 15 years ago
    17. 42:03
      The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019GOTO Conferences384K views • 7 years ago
    18. 1:19:35
      Lecture 1: IntroductionMIT 6.824: Distributed Systems924K views • 6 years ago
    19. 35:15
      Solid Ground // Saša JurićEMPEX Conference14K views • 9 years ago
    20. 53:14
      Mastering Chaos - A Netflix Guide to MicroservicesInfoQ2.3M views • 9 years ago

    5 comments from Hacker News

    1. @YousefEDOct 2023· in “Local-first software: You own your data, in spite of the cloud (2019)”

      This article has been quite the inspiration for many projects and progress on this front. I think we're seeing more and more developments around CRDTs and local-first frameworks / applications. I'm working on a few projects in this area: - [LINK] - Notion meets Notebook-style live programming for TypeScript / React - [LINK] - a rich text editor built on TipTap / Prosemirror that supports Yjs for local-first collaboration - [LINK] - a wrapper around Yjs for easier development In my experience so far, some things get more complicated when building a local-first application, and some things get a lot easier. What gets easier is that once you've modeled and implemented the data-layer (which does require you to rethink / unlearn a few principles), you don't need to worry about data-fetching, errors etc. as much as in a regular "API-based" app. Another interesting video I recommend on this topic is about Linear's "Sync Engine" which employs some of the local-first techniques as well: this video

      RecommendsView on HN
    2. @saqadriNov 2023· in “You don't need a CRDT to build a collaborative experience”

      You may not need CRDT per-se, but building a collaborative experience is so difficult. I worked on collaborative systems for a bit, and also have read a bit about how Figma and Notion do it (this is a good read: [LINK] ) -- it's still super hard to get right. This talk by Karri about Linear's "sync engine" is also a good watch: this video .

      RecommendsView on HN
    3. @dgroshevJun 2024· in “Local First, Forever”

      (this should probably be a post) CRDTs and local first are ideas that is perpetually in the hype cycle for the last decade or so, starting around the time Riak CRDTs became a thing and continuing all the way to today. Niki's post is a perfect illustration: CRDTs offer this "magical" experience that seems perfectly good until you try building a product with them. Then it becomes a nightmare of tradeoffs: - state-based or operation-based? do you trim state? how? - is it truly a CRDT (no conflicts possible), a structure with explicit conflict detection, or last-writer-wins/arbitrary choice in a trench coat that will always lose data? Case in point: Automerge uses pseudo-random conflict resolution, so Niki's solution will drop data if it's added without a direct causal link between the edits. To learn this, you have to go to "under the hood" section in Automerge docs and read about merge rules very attentively. It might be acceptable for a particular use case, but very few people would even read that far! - what is the worst case complexity? Case in point: yjs offers an interface that looks very much like JSON, but "arrays" are actually linked lists underneath, which makes it easy to accidentally become quadratic. - how do you surface conflicts and/or lost data to the user in the interface? What are the user expectations? - how do you add/remove replication nodes? What if they're offline at the time of removal? What if they come online after getting removed? - what's user experie

      CitesView on HN
    4. @probabletrainMar 2025· in “Sync Engines Are the Future”

      > Previous sync engines really want you to sync all data Linear had to do all sorts of shenanigans to be able to sync all data, for orgs with lots of it – there's a talk on that here: this video

      CitesView on HN
    5. @notamyJun 2023· in “Scaling Linear's Sync Engine”

      Heads-up: This is a video ( this video ) embedded in a blog post; there doesn't seem to be an accompanying text-only version.

      CitesView on HN