The Backend Engineering Show with Hussein Nasser cover image

How Discord Stores Trillions of Messages - A deep dive

The Backend Engineering Show with Hussein Nasser

00:00

How Bad Be the Street Can Affect Your SSDs

Both Cassandra and Stella uses a technique called bloom filters. then you look up in the first layer of this is table to look for your stuff You go if you didn't find it you go to the another stable and you go to another SS table To check if this thing is actually there or not Right So these are the kind nice trick with those explain now that we know the benefits of LSM versus the detriment now reads Have become slow. All right, so what do we do with the it says LSM is we do something called compaction And this is where updates and deletes happens where we can group things together and then delete the tombstones Delete duplicate records have one record of the same

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner