
Sandboxed Code Execution
Modal's platform supports scaling to millions of concurrent sandboxes, with tens of thousands of sandboxes created per second. This is achieved by rebuilding the core sandbox platform from the ground up, removing central bottlenecks from the control plane, and optimizing container scheduling and startup. The new system utilizes a fleet of horizontally scaled scheduling servers that directly contact workers via RPC, bypassing central datastores in the critical path for sandbox creation. This post introduces a new resource allocation strategy that moves away from fixed reservations towards a burstable model, significantly improving resource utilization for workloads with spiky CPU demands, such as AI agents and development tasks.
Timeline
















