Overview and High-level Architecture

This section gives a macro view of Discord's infrastructure and how a hybrid cloud strategy with thoughtful technologies supports hundreds of millions of users. The flow below shows a typical user request.

User Request Flow

👤 User
Cloudflare (edge) DDoS protection, CDN, Workers
Google Cloud (core) Compute, storage, analytics
Discord backend services Elixir, Rust, ScyllaDB

Messages Stored

Trillions

Efficiently stored with ScyllaDB

P99 Read Latency

~15 ms

Improved from Cassandra's 40ms+

Node Efficiency

177 → 72

Nodes after migrating to ScyllaDB

Outbound Traffic Savings

> $100k

Saved monthly via Cloudflare