YoVDO

How Discord Stores Trillions of Messages - Deep Dive

Offered By: Hussein Nasser via YouTube

Tags

Software Development Courses Database Management Courses Database Migration Courses Distributed Databases Courses B-trees Courses Database Engineering Courses Backend Engineering Courses

Course Description

Overview

Dive deep into Discord's engineering journey as they migrate from Cassandra to ScyllaDB to handle trillions of messages. Explore the fundamentals of database engineering, comparing relational and distributed systems. Understand the challenges faced with Cassandra, including hot partitions and garbage collector pauses. Learn about crucial concepts like SnowFlake vs UUID, B+Trees and their interaction with SSDs, and LSM Trees. Discover how Discord rearchitected their backend, implemented data services, and executed the migration. Gain insights into zoned namespaces and walk away with a comprehensive understanding of large-scale message storage solutions in this informative video lecture.

Syllabus

Intro
Relational vs Distributed
The Cassandra Troubles
SnowFlake vs UUID
B+Tree
B+Tree and SSDs
LSM Trees
Hot partitions
Cassandra Garbage Collector Pauses
Changing the Architecture
The Data Services
The Migration
Zoned Named Spaces
Summary


Taught by

Hussein Nasser

Related Courses

Fundamentals of Database Engineering
Udemy
Deep Dive into DocumentDB (Portuguese)
Amazon Web Services via AWS Skill Builder
Deep Dive into DocumentDB (Traditional Chinese)
Amazon Web Services via AWS Skill Builder
AWS Database Offerings (Simplified Chinese)
Amazon Web Services via AWS Skill Builder
AWS Database Offerings (Korean)
Amazon Web Services via AWS Skill Builder