---
title: "Discussion on \"How Discord scaled search from billions to TRILLIONS of messages 🔍\" | Hashnode"
description: "Discussion on \"How Discord scaled search from billions to TRILLIONS of messages 🔍\". Learn how Discord rebuilt their Elasticsearch infrastructure to index trillions of messages with 5x faster queries, 40 clusters, and zero-downtime migration"
url: "https://hashnode.com/posts/how-discord-scaled-search-from-billions-to-trillions-of-messages/6981ef131d1fc27d3700fcfe"
---

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

Discussion

# [How Discord scaled search from billions to TRILLIONS of messages 🔍](https://blog.yatharthverma.dev/how-discord-scaled-search-from-billions-to-trillions-of-messages?utm_source=hashnode&utm_medium=feed)

Learn how Discord rebuilt their Elasticsearch infrastructure to index trillions of messages with 5x faster queries, 40 clusters, and zero-downtime migration

Feb 3 · 8 min read · blog.yatharthverma.dev  
Read the article

-   [#system-design](https://hashnode.com/tag/system-design)
-   [#distributed-systems](https://hashnode.com/tag/distributed-systems)
-   [#elasticsearch](https://hashnode.com/tag/elasticsearch)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#backend](https://hashnode.com/tag/backend)
-   [#scalable-systems](https://hashnode.com/tag/scalable-systems)
-   [#discord](https://hashnode.com/tag/discord)
-   [#lucene](https://hashnode.com/tag/lucene)
-   [#data-engineering](https://hashnode.com/tag/data-engineering)

## Written by

[Yatharth Verma](https://hashnode.com/@yatharthverma)

@yatharthverma · India

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

Software Engineer @Artisan

Creative Full Stack Web Developer with 3+ years of experience. Love open source and learning new things every day. Quick learner and believes in hard work

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
