1 TRILLION messages #javascript #python #web #coding #programming
FULL TRANSCRIPT
ever wonder how Discord manages to store
a trillion messages their scaling
journey is impressive it started small
in 2015 using DB to store 100
million messages but as user base
exploded Discord became unstable in 2017
they moved to Cassandra things were okay
for a while but then Mega popular
Channel started overloading individual
notes slowing everything down the
solution came when Discord migrated to
Zilla DB if is written in C++ instead of
java it eliminated expensive garbage
collection paes also great is a sh per
cor design each CPU isolates the channel
partitions it handles so a viral channel
can the whole Fleet this C also
build a rust space service in between to
D duplicate requests this protects the
DB under heavy loads the results latency
dropped from 125 milliseconds to 15
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.
AI SUMMARY
Get an instant AI-generated summary of the video content, key points, and takeaways.
TRANSLATE
Translate the transcript to 100+ languages with one click. Download in any format.
MIND MAP
Visualize the transcript as an interactive mind map. Understand structure at a glance.
CHAT WITH TRANSCRIPT
Ask questions about the video content. Get answers powered by AI directly from the transcript.
GET MORE FROM YOUR TRANSCRIPTS
Sign up for free and unlock interactive viewer, AI summaries, translations, mind maps, and more. No credit card required.