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

MongoDB Cassandra Messages

MongoDB by default and Cassandra and Silla they start with that model that sharding model where things are partitioned. This way you have the database that knows will have fewer and fewer data as a result your queries are faster. To our stress it was a high Toil system our on call team was frequently paged for issues with the database Latency was unpredictable and we were having to cut down maintenance operation that become too expensive Why why is latency unpredictable more?

Transcript
Play full episode

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