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

    Rust at speed — building a fast concurrent database

    Jon Gjengset

    2 HN recommenders · recommended in 4 months, 2019–2022

    YouTube

    52:54 · 225K views · Jan 5, 2019

    A guest lecture Jon Gjengset gave at Two Sigma on using Rust for large, high-performance systems. It covers why Rust suits such projects, the Noria research database, a concurrent data structure used in it, and practical experience.

    HN points to it as a detailed, captivating talk by the Noria author, including a good explanation of deduplicating data between maps using unsafe.

    Software Engineering & LanguagesC, C++, Rust, Go & systems languagesDatabases & storageSoftware performance & optimization
    1. 1:33:23
      Crust of Rust: Lifetime AnnotationsJon Gjengset299K views • 6 years ago
    2. 51:27
      Google I/O 2012 - Go Concurrency PatternsGoogle for Developers894K views • 14 years ago
    3. 46:40
      Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)ChimiChanga416K views • 2 years ago
    4. 29:25
      Rust NYC: Jon Gjengset - Demystifying unsafe codeRust Programming Language27K views • 6 years ago
    5. 1:13:41
      CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"CppCon235K views • 12 years ago
    6. 2:34:01
      Crust of Rust: async/awaitJon Gjengset246K views • 5 years ago
    7. 29:47
      The Truth about Rust/WebAssembly PerformanceGreg Johnston218K views • 3 years ago
    8. 1:27:46
      CppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon863K views • 12 years ago
    9. 58:36
      Advanced Topics in Programming Languages: A Lock-Free Hash TableGoogleTalksArchive29K views • 14 years ago
    10. 22:51
      GopherCon 2015: Go GC: Solving the Latency Problem - Rick HudsonGopher Academy22K views • 11 years ago
    11. 1:16:58
      code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You CareNOKIA Technology Center Wrocław231K views • 11 years ago
    12. 1:00:40
      Dmitry Vyukov — Go scheduler: Implementing language with lightweight concurrencyHydra47K views • 7 years ago
    13. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago
    14. 45:50
      Thesis: Partial State in Dataflow-Based Materialized ViewsJon Gjengset17K views • 6 years ago
    15. 3:03:54
      The Why, What, and How of Pinning in RustJon Gjengset87K views • 7 years ago
    16. 47:43
      "Turning the database inside out with Apache Samza" by Martin KleppmannStrange Loop Conference206K views • 12 years ago
    17. 1:06:24
      Rich Hickey: Deconstructing the DatabaseInfoQ106K views • 14 years ago
    18. 49:20
      Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020Redis11K views • 6 years ago
    19. 22:19
      Lars Bergstrom - Beyond Safety and Speed: How Rust Fuels Team ProductivityRust Nation UK18K views • 2 years ago
    20. 32:24
      RustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language55K views • 7 years ago

    4 comments from Hacker News

    1. @harikbJun 2020· in “There’s plenty of room at the Top: computer performance after Moore’s law”

      Anecdotal - One of favorite YouTube live-streaming personalities, Jon Gjengset[1] is a Ph.D student at MIT CSAIL. His talks are very detailed[4] and captivating[3] [1] [LINK] Talks [2] this video [3] [LINK] Rust Details(my favorites) [4] [LINK]

      RecommendsView on HN
    2. @OrouDec 2021· in “Noria: Dynamic, partially-stateful data-flow for high-perf web applications”

      The author of Noria, Jon Gjengset, gave a great talk about the system: this video The speeds achieved are impressive but you do not get consistency.

      RecommendsView on HN
    3. @JonhooNov 2022· in “How PlanetScale Boost serves SQL queries faster”

      :wave: Author of the paper this work is based on here. I'm so excited to see dynamic, partially-stateful data-flow for incremental materialized view maintenance becoming more wide-spread! I continue to think it's a _great_ idea, and the speed-ups (and complexity reduction) it can yield are pretty immense, so seeing more folks building on the idea makes me very happy. The PlanetScale blog post references my original "Noria" OSDI paper ( [LINK] ), but I'd actually recommend my PhD thesis instead ( [LINK] ), as it goes much deeper about some of the technical challenges and solutions involved. It also has a chapter (Appendix A) that covers how it all works by analogy, which the less-technical among the audience may appreciate :) A recording of my thesis defense on this, which may be more digestible than the thesis itself, is also online at [LINK] , as well as a shorter talk from a few years earlier at this video . And the Noria research prototype (written in Rust) is on GitHub: [LINK] . As others have already mentioned in the comments, I co-founded ReadySet ( [LINK] ) shortly after graduating specifically to build off of Noria, and they're doing amazing work to provide these kinds of speed-ups for general-purpose relational databases. If you're using one of those, it's worth giving ReadySet a look to get these kinds of speedups there! It's also source-available @ [LINK] if you're curious.

      CitesView on HN
    4. @dpezelyJan 2019· in “Rust at speed – building a fast concurrent database [video]”

      He explains this at roughly the 40 minute mark. [1] "There's 7 more lines of `unsafe` that avoids keeping both maps. You still keep two maps, but you de-duplicate the data between those two maps." this video

      CitesView on HN