How Discord Stores TRILLIONS of Messages
Coding with Lewis
@codingwithlewisAbout
My name is Lewis. I am on a mission to inspire developers and tech enthusiasts. π§βπ» Professionally coding since 2016! Business: [email protected]
Latest Posts
Video Description
Have you ever wondered how Discord is able to store trillions of user messages without breaking a sweat? In this video, we'll take a deep dive into the technologies and strategies that Discord's software engineers use to manage such a massive amount of data. SOURCE: https://discord.com/blog/how-discord-stores-trillions-of-messages Discord is one of the most popular communication apps in the world, with over 250 million users and counting. With such a large user base, Discord's servers receive an enormous amount of messages every day. To store all these messages, Discord employs a distributed database system that runs on hundreds of servers worldwide. This system uses a variety of modern database technologies, including Cassandra, Redis, Elasticsearch and most recently: ScyllaDB to ensure that messages are stored reliably and efficiently. These databases are designed to handle huge amounts of data and provide fast read and write capabilities, making it possible for Discord to scale to millions of users without compromising performance. So if you've ever wondered how your messages are stored on Discord, or if you're just curious about how modern database technology works, this video is a must-watch. Join us as we explore the world of distributed databases and learn how Discord's software engineers keep trillions of messages organized and accessible for millions of users around the world. π» MY NEW STARTUP: https://www.caspr.ai/ MY NEWSLETTER π https://thebetter.dev ------ CONNECT WITH ME ON SOCIAL πΈ Instagram: https://www.instagram.com/lewismenelaws/ πTikTok: https://www.tiktok.com/@lewismenelaws π£ Twitter: https://twitter.com/LewisMenelaws β- My gear π» https://liinks.co/lewismenelaws ----- TIMESTAMPS β° 0:00 Intro 0:38 The BackStory 1:46 Cassandra Troubles 4:09 Change Architectures 6:28 Data Services 8:57 The BIG Migration 10:35 Where It's at now 11:40 What we can learn from this 12:46 Thanks for watching and subscribe :)
Boost Your Coding Setup
AI-recommended products based on this video

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Dell UltraSharp U2725QE 27' 4K Thunderbolt-Hub-Monitor mit Bildwiederholfrequenz Von 120Hz

Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Monitor - 16:9 - Black, Silver EPEAT

TP-Link AC1750 WiFi Extender (RE450) - Up to 1750Mbps, Dual Band WiFi Repeater, Internet Booster, Extend WiFi Range Further

NA to Clamp, Quick Release NA to Rail Lock Clamp with 1/4in 3/8in Thread, Standard NA to Clamp Adapter for Camera Cage Friction Arm Ball Head Cold Shoe Microphone Monitor

MSI MAG MT201D - Premium Heavy Duty Dual Monitor Stand Arms, 17-45" Support, VESA Compatible, Adjustable Spring Mount, 44 lbs per Screen, Clamp & Grommet, Quick Release Plate - Black

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Laptop Stand, OMOTON Laptop Mount, Aluminum Laptop Holder Riser Stand for Desk, Compatible with MacBook Air/Pro, Dell, HP, Lenovo and All Laptops (10-15.6 inch),Silver

BESIGN LSX7 Laptop Stand with 360Β° Rotating Base, Ergonomic Adjustable Notebook Stand, Riser Holder Computer Stand Compatible with Air, Pro, Dell, HP, Lenovo More 10-15.6" Laptops (Black) Recycled Claim Standard Blended

Zewwen Laptop Stand for Desk, Ergonomic Adjustable Foldable Computer Stand with Heat-Vent, Aluminium Alloy Laptop Riser Compatible with MacBook Air, Pro, Dell XPS, Samsung, 10β-16"

iPhone 16e/16/15 Pro Max Charger, 2-Pack 20W Type C Fast Wall Charger Plug Power Adapter, USB C Charger Block for iPhone 16/16e/16 Pro/16 Pro Max/15/15 Plus/15 Pro Max, iPad, with 6FT USB-C to C Cable



















