---
title: "Discussion on \"How Discord’s Message Storage Hit a Scaling Wall\" | Hashnode"
description: "Discussion on \"How Discord’s Message Storage Hit a Scaling Wall\". Explore Discord's messaging architecture, Cassandra data modeling, hot partitions, and the trade-offs behind storing trillions of messages at scale."
url: "https://hashnode.com/posts/how-discord-s-message-storage-hit-a-scaling-wall/6ad2f7ca9fb50037f2bb17d7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Discord’s Message Storage Hit a Scaling Wall](https://buildopsy.hashnode.dev/how-discord-s-message-storage-hit-a-scaling-wall?utm_source=hashnode&utm_medium=feed)

Explore Discord's messaging architecture, Cassandra data modeling, hot partitions, and the trade-offs behind storing trillions of messages at scale.

Oct 17 · 4 min read · buildopsy.hashnode.dev  
Read the article

-   [#system-design](https://hashnode.com/tag/system-design)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#distributed-system](https://hashnode.com/tag/distributed-system)
-   [#databases](https://hashnode.com/tag/databases)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Mukul Kumar](https://hashnode.com/@pydevgo)

@pydevgo

  
[View profile](https://hashnode.com/@pydevgo)

Engineering deep dives into system design, distributed systems, and the trade-offs behind real-world technology.

## Responses 2

Markdown supported · ⌘↵ to post

[StackShortlist](https://hashnode.com/@veristria)

[Oct 17](https://hashnode.com/posts/how-discord-s-message-storage-hit-a-scaling-wall/6ad2f7ca9fb50037f2bb17d7/comment/6ad30a0135d30f9a8aac9caf)

The line about aggregate cluster capacity not being the same as capacity for a hot partition is the useful takeaway here. The 177 to 72 node number gets quoted a lot, and the workload part usually gets skipped. Section 3 is a fair caveat too. Coalescing only pays off when many requests overlap on the same data, so a quiet channel gets little from it.

[Mukul Kumar](https://hashnode.com/@pydevgo)

[Oct 17](https://hashnode.com/posts/how-discord-s-message-storage-hit-a-scaling-wall/6ad2f7ca9fb50037f2bb17d7/comment/6ad30a0135d30f9a8aac9caf#reply-6ad319888b23e004ebcd7900)

Exactly! The interesting part is that coalescing and hot partition mitigation solve different problems. coalescing can reduce duplicate reads when requests overlap but it doesn't automatically redistribute traffic that's concentrated on one partition. Treating those as separate bottlenecks is important when reasoning about the architecture.
