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

    CRDTs: The Hard Parts

    Martin Kleppmann

    3 HN recommenders · recommended in 6 months, 2020–2024

    YouTube

    1:10:10 · 90K views · Jul 6, 2020

    Martin Kleppmann surveys current research on CRDTs, the algorithms for merging concurrent edits across offline replicas. He covers the hard parts such as rich text, moves and merge results that are technically correct but poor.

    Recommended as an excellent first education on CRDTs and their limits.

    Systems, Networks & SecurityDistributed systemsAlgorithms & data structures
    1. 52:29
      "I See What You Mean" by Peter AlvaroStrange Loop Conference59K views • 11 years ago
    2. 43:39
      CRDTs and the Quest for Distributed ConsistencyInfoQ68K views • 8 years ago
    3. 51:36
      Conflict Resolution for Eventual Consistency • Martin Kleppmann • GOTO 2016GOTO Conferences46K views • 9 years ago
    4. 14:36
      Distributed Systems 1.1: IntroductionMartin Kleppmann383K views • 6 years ago
    5. 20:45
      dotJS 2019 - James Long - CRDTs for Mortalsdotconferences18K views • 6 years ago
    6. 54:44
      Differential SynchronizationGoogle TechTalks52K views • 17 years ago
    7. 29:46
      The past, present, and future of local-first - Martin Kleppmann (Local-First Conf)Local-First Conf17K views • 2 years ago
    8. 41:08
      "Transactions: myths, surprises and opportunities" by Martin KleppmannStrange Loop Conference84K views • 11 years ago
    9. 1:19:35
      Lecture 1: IntroductionMIT 6.824: Distributed Systems924K views • 6 years ago
    10. 1:16:14
      Spec-ulation Keynote - Rich HickeyClojureTV136K views • 9 years ago
    11. 59:50
      Leslie Lamport: Thinking Above the CodeMicrosoft Research403K views • 12 years ago
    12. 1:06:45
      Let's #TalkConcurrency Panel Discussion with Sir Tony Hoare, Joe Armstrong, and Carl HewittErlang Solutions13K views • 7 years ago
    13. 35:15
      Solid Ground // Saša JurićEMPEX Conference14K views • 9 years ago
    14. 1:10:23
      "Systems that run forever self-heal and scale" by Joe Armstrong (2013)Strange Loop Conference86K views • 5 years ago
    15. 30:06
      "Tackling Concurrency Bugs with TLA+" by Hillel WayneStrange Loop Conference24K views • 9 years ago
    16. 1:14:52
      Effective Programs - 10 Years of Clojure - Rich HickeyClojureTV176K views • 9 years ago
    17. 41:06
      "Unison: a new distributed programming language" by Paul ChiusanoStrange Loop Conference45K views • 7 years ago
    18. 51:27
      Google I/O 2012 - Go Concurrency PatternsGoogle for Developers894K views • 14 years ago
    19. 1:01:39
      "Simple Made Easy" - Rich Hickey (2011)ClojureTV434K views • 5 years ago
    20. 1:12:56
      Lecture 1A: Overview and Introduction to LispMIT OpenCourseWare421K views • 7 years ago

    6 comments from Hacker News

    1. @rkangelJan 2021· in “Decentralised Content Moderation”

      The author is a researcher on distributed systems. I found this video from him to be an excellent first education on CRDTs, how they work, what they're good for and what they aren't (yet) good for: this video

      Strongly recommendsView on HN
    2. @williamsteinDec 2024· in “Lies I was told about collab editing, Part 1: Algorithms for offline editing”

      What they claim is that if all editing stops, then after a period of time everybody will be looking at the SAME document. This is what is meant by "eventual consistency". Achieving this in general is indeed a difficult problem, but (some of) these algorithms do solve it, though it can be tricky to correctly prove that they do. I agree that it is not possible to ensure that the document everybody is looking at is what they actually wanted it to be. However, there are some options for what happens, where some results may be technically correct -- we are all looking at the same thing -- but obviously really bad. This beautiful talk has some examples: this video

      RecommendsView on HN
    3. @iamwilJan 2024· in “CRDTs Turned Inside Out”

      Ah, I'll put it in as a note in the beginning. You can see a more basic introduction in a previous post I wrote: [LINK] [LINK] Here's some introductory material I found helpful: - [An interactive intro to CRDTs]( [LINK] ) - [An introduction to state-based CRDTs]( [LINK] ) - [CRDTs for non-academics]( [LINK] ) - [CRDT: The Hard Parts]( this video ) - [Readings in CRDTs]( [LINK] ) - [crdt.tech]( [LINK] )

      RecommendsView on HN
    4. @sambronerDec 2020· in “Lessons learned from creating a rich-text editor with real-time collab (2018)”

      Disclosure: I work on a related project (Fluid Framework) that makes application agnostic CRDTs easily available. The CKEditor folks did a great job building an OSS text editor and they did an especially strong work building a text editor that works well with collaboration. I've made a few OSS rich text editors work (mostly) with Fluid [0, 1] and the design of the text editor really changes how easily collaboration can be added. Luckily the text editor accepts remote changes, integrating an OT or CRDT solution is approximately the same. They also did a great job explaining the problem. My experience has been that people don't intuitively understand why real time collaboration is a tricky problem. I didn't. First of all, for a bunch of use cases websockets + redis + a last write wins conflict resolution (or some similar solution) is totally enough. Second, it's not immediately obvious why rich text editing requires more complex conflict resolution. Third, it's not obvious why solving the RTE problem doesn't immediately lend itself to other problems [2]. Because we started building in mid-late 2017, right as CRDTs really started to get competitive with OT, we chose a CRDT approach, but the collab problem space in general is much deeper I realized before getting into it. Anyway, I always appreciate seeing people explain their journey. Especially when it has to do with collaboration. [0] [LINK] [1] [LINK] [2] this video

      CitesView on HN
    5. @benrbraySep 2020· in “CRDTs are the future”

      CRDTs seem very promising, but we still have a long way to go. The most exciting work in this area is being done by Ink&Switch [0]. They have a number of interesting real-world app prototypes based on CRDTs. - An interesting case where CRDTs failed is Xi-editor, where they tried to use CRDTs as the basis for a plugin system [1,2]. - One of the biggest problems with CRDTs is the overhead needed to keep track of the full document history. The automerge [3] project has been working on efficient compression of CRDTs for JSON datatypes. - The idea of monotonic updates is really appealing at first, but I was disappointed when I realized there's no good solution to handle deletions. Tombstones, to me, seem like kind of a hack, albeit a necessary one. Practically, CRDTs aren't the silver bullet they might seem like at first. - Another lesson learned is that when ten people are editing the same paragraph, there's not really a right answer. I think the key to implementing CRDTs is doing it at the correct level of granularity. - ProseMirror intentionally chose NOT to use CRDTs [4]. - Some more good references are [5,6,7] [0] [LINK] [1] [LINK] [2] [LINK] [3] [LINK] and [LINK] [4] [LINK] [5] Kleppmann 2020, "CRDTs: The Hard Parts" this video with HN Discussion: [LINK] [6] Kleppmann 2019, "Interleaving Anomalies in Text Editors" [LINK] [7] [LINK]

      CitesView on HN