# Beyond Kubernetes at Modal: How to Scale 1 Million Concurrent Sandboxes in Seconds

DevFeed: [Beyond Kubernetes at Modal: How to Scale 1 Million Concurrent Sandboxes in Seconds](<https://devfeed.tech/articles/beyond-kubernetes-at-modal-how-to-scale-1-million-concurrent-sandboxes-in-seconds-58939.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/09/modal-scaling-sandboxes/>)

Author: Sergio De Simone

Published: 2026-09-23T14:00:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Remote Procedure Call (RPC)](<https://devfeed.tech/topics/rpc.md>), [etcd](<https://devfeed.tech/topics/etcd.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [balancing](<https://devfeed.tech/tags/balancing.md>), [containers](<https://devfeed.tech/tags/containers.md>), [development](<https://devfeed.tech/tags/development.md>), [devops](<https://devfeed.tech/tags/devops.md>), [etcd](<https://devfeed.tech/tags/etcd.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [modal-scaling-sandboxes](<https://devfeed.tech/tags/modal-scaling-sandboxes.md>), [news](<https://devfeed.tech/tags/news.md>), [performance-scalability](<https://devfeed.tech/tags/performance-scalability.md>), [redis](<https://devfeed.tech/tags/redis.md>), [rpc](<https://devfeed.tech/tags/rpc.md>), [sandboxes](<https://devfeed.tech/tags/sandboxes.md>), [scale](<https://devfeed.tech/tags/scale.md>)

## AI overview

This news report describes how Modal redesigned its sandbox infrastructure to support millions of concurrent sandboxes and tens of thousands of creations per second. The architecture replaces centralized coordination with horizontally scalable scheduling servers, worker-local state, direct RPC requests, and a Redis stream for worker state.

## Source excerpt

In a recent article, Colin Weld and Connor Adams, staff engineers at Modal, describe how they rebuilt their sandbox infrastructure from the ground up to support millions of concurrent sandboxes and tens of thousands of sandbox creations per second. By Sergio De Simone