<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr" -->

---
title: Sharding high-throughput Redis without downtime | daily.dev
description: Inngest's engineering team describes how they horizontally scaled their Redis-based function state store to handle over 50,000 operations per second without...
canonical: https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Sharding high-throughput Redis without downtime | daily.dev
og:description: Inngest's engineering team describes how they horizontally scaled their Redis-based function state store to handle over 50,000 operations per second without...
og:url: https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr
og:image: https://api.daily.dev/og/posts/Wou1GocKR.png
og:image:alt: Sharding high-throughput Redis without downtime
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Sharding high-throughput Redis without downtime

**[Inngest Blog](https://daily.dev/sources/inngest)** · 12 min read · 0 upvotes · 0 comments

## Summary

Inngest's engineering team describes how they horizontally scaled their Redis-based function state store to handle over 50,000 operations per second without any downtime. Facing unexpected enterprise-driven traffic growth, they built a state coordinator service and applied a broker pattern to route new data to a multi-node sharded Redis cluster while old data drained from the original single-node cluster, sharding by function run identifier. The rollout was staged across customer segments using a compiled-in rollout policy rather than external feature flags, avoiding drift risk. Results included 80% fewer timeouts during traffic peaks and latency dropping from a volatile 35-50ms to a steady 7ms.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/sharding-at-inngest>

## Questions this post answers

### How can you shard a Redis cluster in production without any downtime?

Route new data to a newly provisioned multi-node cluster while letting old data drain from the original single-node cluster, rather than migrating existing keys. This broker-pattern approach avoids the locking delays caused by Redis's MIGRATE command during slot rebalancing, and lets a team add sharding-compatible key generation, single-slot Lua scripts, and a compiled-in rollout policy that switches over customer segments in stages.

_For teams weighing similar zero-downtime scaling tradeoffs, daily.dev surfaces engineering writeups like this one._

### What sharding key should I use to distribute Redis data evenly across nodes?

Choose the most granular identifier available that keeps associated data close to equal in size, to avoid hotspots. Inngest sharded function run state by run identifier since it is present in all relevant access locations; Notion shards by workspace identifier, and Figma uses multiple sharding keys across different product features.

_Developers comparing sharding key strategies across systems can find case studies like these through daily.dev._

### What performance improvement can zero-downtime Redis sharding deliver under high traffic?

After completing a staged Redis sharding rollout, one production system saw 80% fewer timeouts during traffic peaks and latency drop from a volatile 35-50ms down to a steady 7ms, with memory utilization flattening within minutes of rollout and CPU utilization declining over the following week as old data was offloaded.

_Engineers tracking real-world scaling outcomes can follow infrastructure stories like this on daily.dev._

## Similar posts on daily.dev

- [When “One in a Billion” Happens Every Day: Scaling Redis at Report URI](https://daily.dev/posts/when-one-in-a-billion-happens-every-day-scaling-redis-at-report-uri-vmdonhmpc) · Scott Helme · 4 upvotes · 0 comments
- [Lessons learned building DoorDash’s clusterless ML feature store](https://daily.dev/posts/lessons-learned-building-doordash-s-clusterless-ml-feature-store-wbskyh8za) · Doordash · 1 upvotes · 0 comments
- [High Performance Rate Limiting at Databricks](https://daily.dev/posts/high-performance-rate-limiting-at-databricks-lln88cxlb) · ByteByteGo · 13 upvotes · 0 comments
- [Moving Marketing Cloud Caching from Memcached to Redis at 1.5M RPS](https://daily.dev/posts/moving-marketing-cloud-caching-from-memcached-to-redis-at-1-5m-rps-epsn0tifr) · Salesforce Engineering · 1 upvotes · 0 comments
- [How we migrated the database behind every Vercel build](https://daily.dev/posts/how-we-migrated-the-database-behind-every-vercel-build-wstvjzabz) · Vercel · 3 upvotes · 2 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#distributed-systems](https://daily.dev/tags/distributed-systems), [#inngest](https://daily.dev/tags/inngest), [#redis](https://daily.dev/tags/redis)

[View this post on daily.dev](https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Sharding high-throughput Redis without downtime","url":"https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr"},"datePublished":"2026-09-13T19:57:09.969Z","dateModified":"2026-10-15T02:22:28.607Z","description":"Inngest's engineering team describes how they horizontally scaled their Redis-based function state store to handle over 50,000 operations per second without...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6bc65f5e70437c4de2d3e62a9af8bc57?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6bc65f5e70437c4de2d3e62a9af8bc57?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"backend,distributed-systems,inngest,redis","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Sharding high-throughput Redis without downtime"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/sharding-high-throughput-redis-without-downtime-wou1gockr#faq","mainEntity":[{"@type":"Question","name":"How can you shard a Redis cluster in production without any downtime?","acceptedAnswer":{"@type":"Answer","text":"Route new data to a newly provisioned multi-node cluster while letting old data drain from the original single-node cluster, rather than migrating existing keys. This broker-pattern approach avoids the locking delays caused by Redis's MIGRATE command during slot rebalancing, and lets a team add sharding-compatible key generation, single-slot Lua scripts, and a compiled-in rollout policy that switches over customer segments in stages. For teams weighing similar zero-downtime scaling tradeoffs, daily.dev surfaces engineering writeups like this one."}},{"@type":"Question","name":"What sharding key should I use to distribute Redis data evenly across nodes?","acceptedAnswer":{"@type":"Answer","text":"Choose the most granular identifier available that keeps associated data close to equal in size, to avoid hotspots. Inngest sharded function run state by run identifier since it is present in all relevant access locations; Notion shards by workspace identifier, and Figma uses multiple sharding keys across different product features. Developers comparing sharding key strategies across systems can find case studies like these through daily.dev."}},{"@type":"Question","name":"What performance improvement can zero-downtime Redis sharding deliver under high traffic?","acceptedAnswer":{"@type":"Answer","text":"After completing a staged Redis sharding rollout, one production system saw 80% fewer timeouts during traffic peaks and latency drop from a volatile 35-50ms down to a steady 7ms, with memory utilization flattening within minutes of rollout and CPU utilization declining over the following week as old data was offloaded. Engineers tracking real-world scaling outcomes can follow infrastructure stories like this on daily.dev."}}]}
```

