<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs" -->

---
title: Giving Inngest's Queue a Bigger Brain (and a Backup...
description: Inngest is migrating its job queue from Valkey (Redis under a different license) to FoundationDB, the distributed ACID-compliant key-value store used by...
canonical: https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Giving Inngest's Queue a Bigger Brain (and a Backup Generator): Our Migration to FoundationDB, Part 1 | daily.dev
og:description: Inngest is migrating its job queue from Valkey (Redis under a different license) to FoundationDB, the distributed ACID-compliant key-value store used by...
og:url: https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs
og:image: https://api.daily.dev/og/posts/EF98EgRRs.png
og:image:alt: Giving Inngest's Queue a Bigger Brain (and a Backup Generator): Our Migration to FoundationDB, Part 1
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.

# Giving Inngest's Queue a Bigger Brain (and a Backup Generator): Our Migration to FoundationDB, Part 1

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

## Summary

Inngest is migrating its job queue from Valkey (Redis under a different license) to FoundationDB, the distributed ACID-compliant key-value store used by Apple's CloudKit and Snowflake. Valkey's in-memory model created a hard memory ceiling—an OOM event takes down the whole cluster—and its single execution thread limited the fairness and observability features Inngest could build. After two years of workarounds (horizontal shard scaling, a dedicated Constraint API, and iterations of per-key fairness), the team concluded the bottleneck was the storage engine itself, not the queue logic. FoundationDB offers on-disk durability, horizontal scaling with multi-threading, and a decoupled read/write path. The new architecture moves to one FoundationDB cluster per billing tier plus a metadata cluster, with automatic logical shard assignment replacing manual provisioning. Rollout proceeds gradually by tier—Hobby accounts first, then self-serve, then enterprise—with the ability to fall back to Valkey without data loss. This is the first in a planned series covering sharding, rebalancing, and rollout mechanics.

## Full article

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

## Questions this post answers

### Why is Inngest migrating its queue from Valkey to FoundationDB?

Valkey's in-memory architecture created a hard capacity ceiling: running out of memory takes down the entire cluster rather than just the offending tenant, and its single execution thread limited how much fairness and observability could be added without further degrading performance. FoundationDB commits data to disk with strong ACID guarantees, scales horizontally across multiple CPU cores, and separates transaction management from storage, removing both the memory ceiling and the durability risk.

_Teams weighing a queue's database foundation can follow real migration tradeoffs like this one on daily.dev._

### What is FoundationDB and who uses it in production?

FoundationDB is an open source, distributed, ordered key-value store with ACID transaction guarantees that Apple acquired in 2015 and open sourced under Apache 2.0 in 2018. Apple runs CloudKit on it, and Snowflake uses it as the metadata store beneath its compute layer, both at scale larger than typical queue workloads, making it a battle-tested choice for durable, horizontally scalable storage.

_Engineers evaluating distributed key-value stores can track real-world adoption stories like this on daily.dev._

### How is Inngest rolling out its FoundationDB migration without risking a queue outage?

The rollout proceeds gradually by billing tier, starting with Hobby accounts, then paid self-serve accounts, and enterprise accounts last, with each tier expanded segment by segment while monitoring observability tooling. Accounts can be moved back to Valkey without data loss if problems appear at any stage, a requirement that shaped the migration mechanics as much as the database choice itself.

_Teams planning risky infrastructure migrations can follow rollout strategies like this one on daily.dev._

## Similar posts on daily.dev

- [Attack of the Shards: Our Migration to FoundationDB, Part 2](https://daily.dev/posts/attack-of-the-shards-our-migration-to-foundationdb-part-2-lqounks31) · Inngest Blog · 0 upvotes · 0 comments
- [We used a database as a message queue. Now we use Kafka.](https://daily.dev/posts/we-used-a-database-as-a-message-queue-now-we-use-kafka--qwyhbrgup) · Tigris · 0 upvotes · 1 comments
- [Valkey 9.0 Introduces Multi-Database Clustering, Atomic Slot Migration, and Major Performance Gains](https://daily.dev/posts/valkey-9-0-introduces-multi-database-clustering-atomic-slot-migration-and-major-performance-gains-2gkxrlley) · InfoQ · 7 upvotes · 0 comments
- [Nextdoor’s Database Evolution: A Scaling Ladder](https://daily.dev/posts/nextdoor-s-database-evolution-a-scaling-ladder-gg4vb8v84) · ByteByteGo · 27 upvotes · 0 comments

---

Tags: [#database](https://daily.dev/tags/database), [#distributed-systems](https://daily.dev/tags/distributed-systems), [#valkey](https://daily.dev/tags/valkey)

[View this post on daily.dev](https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs)

```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":"Giving Inngest's Queue a Bigger Brain (and a Backup Generator): Our Migration to FoundationDB, Part 1","url":"https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs"},"datePublished":"2026-09-13T19:57:47.877Z","dateModified":"2026-09-13T20:00:00.023Z","description":"Inngest is migrating its job queue from Valkey (Redis under a different license) to FoundationDB, the distributed ACID-compliant key-value store used by...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2f5865d5f4192fe429653ebc85acc8c1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2f5865d5f4192fe429653ebc85acc8c1?_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/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"database,distributed-systems,valkey","timeRequired":"PT11M"}
{"@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":"Giving Inngest's Queue a Bigger Brain (and a Backup Generator): Our Migration to FoundationDB, Part 1"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/giving-inngest-s-queue-a-bigger-brain-and-a-backup-generator-our-migration-to-foundationdb-part--ef98egrrs#faq","mainEntity":[{"@type":"Question","name":"Why is Inngest migrating its queue from Valkey to FoundationDB?","acceptedAnswer":{"@type":"Answer","text":"Valkey's in-memory architecture created a hard capacity ceiling: running out of memory takes down the entire cluster rather than just the offending tenant, and its single execution thread limited how much fairness and observability could be added without further degrading performance. FoundationDB commits data to disk with strong ACID guarantees, scales horizontally across multiple CPU cores, and separates transaction management from storage, removing both the memory ceiling and the durability risk. Teams weighing a queue's database foundation can follow real migration tradeoffs like this one on daily.dev."}},{"@type":"Question","name":"What is FoundationDB and who uses it in production?","acceptedAnswer":{"@type":"Answer","text":"FoundationDB is an open source, distributed, ordered key-value store with ACID transaction guarantees that Apple acquired in 2015 and open sourced under Apache 2.0 in 2018. Apple runs CloudKit on it, and Snowflake uses it as the metadata store beneath its compute layer, both at scale larger than typical queue workloads, making it a battle-tested choice for durable, horizontally scalable storage. Engineers evaluating distributed key-value stores can track real-world adoption stories like this on daily.dev."}},{"@type":"Question","name":"How is Inngest rolling out its FoundationDB migration without risking a queue outage?","acceptedAnswer":{"@type":"Answer","text":"The rollout proceeds gradually by billing tier, starting with Hobby accounts, then paid self-serve accounts, and enterprise accounts last, with each tier expanded segment by segment while monitoring observability tooling. Accounts can be moved back to Valkey without data loss if problems appear at any stage, a requirement that shaped the migration mechanics as much as the database choice itself. Teams planning risky infrastructure migrations can follow rollout strategies like this one on daily.dev."}}]}
```

