TRANSCRIPTEnglish

1 TRILLION messages #javascript #python #web #coding #programming

1m 2s139 words22 segmentsEnglish

FULL TRANSCRIPT

0:00

ever wonder how Discord manages to store

0:02

a trillion messages their scaling

0:04

journey is impressive it started small

0:07

in 2015 using DB to store 100

0:10

million messages but as user base

0:12

exploded Discord became unstable in 2017

0:16

they moved to Cassandra things were okay

0:19

for a while but then Mega popular

0:21

Channel started overloading individual

0:23

notes slowing everything down the

0:26

solution came when Discord migrated to

0:28

Zilla DB if is written in C++ instead of

0:31

java it eliminated expensive garbage

0:34

collection paes also great is a sh per

0:38

cor design each CPU isolates the channel

0:41

partitions it handles so a viral channel

0:43

can the whole Fleet this C also

0:46

build a rust space service in between to

0:48

D duplicate requests this protects the

0:51

DB under heavy loads the results latency

0:54

dropped from 125 milliseconds to 15

0:57

milliseconds on average

UNLOCK MORE

Sign up free to access premium features

INTERACTIVE VIEWER

Watch the video with synced subtitles, adjustable overlay, and full playback control.

SIGN UP FREE TO UNLOCK

AI SUMMARY

Get an instant AI-generated summary of the video content, key points, and takeaways.

SIGN UP FREE TO UNLOCK

TRANSLATE

Translate the transcript to 100+ languages with one click. Download in any format.

SIGN UP FREE TO UNLOCK

MIND MAP

Visualize the transcript as an interactive mind map. Understand structure at a glance.

SIGN UP FREE TO UNLOCK

CHAT WITH TRANSCRIPT

Ask questions about the video content. Get answers powered by AI directly from the transcript.

SIGN UP FREE TO UNLOCK

GET MORE FROM YOUR TRANSCRIPTS

Sign up for free and unlock interactive viewer, AI summaries, translations, mind maps, and more. No credit card required.