Coding Blocks cover image

Designing Data-Intensive Applications – SSTables and LSM-Trees

Coding Blocks

00:00

How to Recover From a Crash?

The program writes to a memory table first, and then it gets it up to disk. If the data base crashes in the middle of your memory table being written to, you're going to lose all that data. The whole point is to dedupe, get the latest values, and keep compressing these things as time goes on. As the smim table reaches some threshold that we sai when wee ritin this, that happens. But i's paticulrly the same kind of situation where we need to keep track of that mem table a mean, ovously flushed at the disk.

Play episode from 30:45
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app