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

Cassandra Reads Are More Expensive Than Right?

In Cassandra reads are more expensive than right. with the hundreds of thousands of people and it's in the same time Same channel right in the same group of time You will get a burst of Massive amount of messages from one server compared to another so you'll see these They call hotspot like one bucket of time Special like maybe at nightish right you would see this flood of queries into these areas  and If this happens this will create this hotspot. So why is this problem? I was gonna write in Cassandra reads areMore expensive than right, but we need to understand the difference between What Cassandra uses which is a log structured merge tree or B plus trees. Versus which most all relational

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