Skip to content
HHackerTube.videoSurprise me

Rust at speed — building a fast concurrent database

Rust at speed — building a fast concurrent database on HackerTube: recommended by 2 Hacker News commenters across 2 separate months, 2019–2022.

Jon Gjengset

lecture · advanced · evergreen

Open on YouTube

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.

Why Hacker News recommends it

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

people recommended it
2
separate months
2
strong recommendations
0
discussed on HN
2019–2022
“gave a great talk about the system”
— Orou, Dec 2021, in “Noria: Dynamic, partially-stateful data-flow for high-perf web applications”

What HN commenters said

4 Hacker News comments link this video. Each one links back to its thread.

OrouDec 2021Recommends

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.

in “Noria: Dynamic, partially-stateful data-flow for high-perf web applications” · View on HN

harikbJun 2020Recommends

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]

in “There’s plenty of room at the Top: computer performance after Moore’s law” · View on HN

JonhooNov 2022Cites it

: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.

in “How PlanetScale Boost serves SQL queries faster” · View on HN

dpezelyJan 2019Cites it

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

in “Rust at speed – building a fast concurrent database [video]” · View on HN

Topics & tags