Ignito

Ignito

Ignito

[System Design Tech Case Study Pulse #17] How Discord's Real-Time Chat Scales to 200+ Million Users

With detailed explanation and flow chart....

Naina Chaturvedi's avatar
Naina Chaturvedi
Oct 21, 2025
∙ Paid

Hi All,

Apache Cassandra plays a crucial role in scaling Discord’s real-time chat platform to serve over 250 million users. This impressive feat enables Discord to provide low-latency, highly available messaging across millions of servers and channels.

Let me dive deep into how Discord engineered this system, exploring the key architectural decisions, scaling strategies, and optimizations that enable Cassandra to manage this enormous volume of real-time chat data for Discord's global user base.

Learn how to Design Facebook Newsfeed

[System Design Tech Case Study Pulse #15] 80 Million Photos Daily : How Instagram Achieves Real Time Photo Sharing

[System Design Tech Case Study Pulse #9] Facebook's News Feed Algorithm Marvel: How it Serves 2.9 Billion Daily Active Users Using PyTorch and Cassandra



System Overview 

- Active users: 250 million+ 

- Concurrent users: 15 million+ 

- Messages sent daily: 4 billion+ 

- Servers (communities): 19 million+ 

- Peak messages per second: 4 million+ 

- Data centers: Multiple, globally distributed 

- Latency target: < 100 milliseconds 

- Availability: 99.99%+ 

- Supported platforms: Web, desktop, mobile 

- Cassandra clusters: Multiple, purpose-specific 


Learn system design pulses -

[System Design Pulse #1] Understanding Latency and Throughput: Critical Factors in System Design and Performance Tuning

[System Design Pulse #2] Striking the Right Balance: Optimizing Availability and Consistency in Distributed Architectures

[System Design Pulse #3] THE theorem of System Design and why you MUST know it - Brewer theorem

[System Design Pulse #4] How Distributed Message Queues Work?

[System Design Pulse #5] Breaking It Down: The Magic Behind Microservices Architecture

[System Design Pulse #6] Why Availability Patterns Are So Crucial in System Design?

[System Design Pulse #7] How Consistency Patterns helps Design Robust and Efficient Systems?

[System Design Pulse #8] Caching is Crucial : How Caching Slashes Latency and Supercharges Performance

[System Design Pulse #9] Why these Key Components are Crucial for System Design.


How it works ( complete process flow) —

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Naina
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture