Modal
Read post

Scaling to 1 million concurrent sandboxes in seconds

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Modal rebuilt its sandbox platform from the ground up to support 1 million concurrent sandboxes, achievable in under a minute. The new architecture eliminates central coordination bottlenecks by replacing a centralized scheduler and durable datastore with a fleet of scheduling servers using in-memory cached worker state published via Redis streams. Workers become their own source of truth, sandbox creation requires only two network hops, and all O(sandboxes) and O(nodes) operations are horizontally scalable. Kubernetes-style strong consistency was traded for performance. Median sandbox start time is under 500ms. The system is in Beta and will soon back all Modal sandbox scheduling.

    #distributed-systems
Jul 16•9m read time•From modal.com
Post cover image
Table of contents
Why most solutions don’t scaleUnlocking infinite scaleHow our performance stacks upSee for yourselfAcknowledgements
1K Impressions
Modal's image
Modal

35 Followers

•

346 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard