---
title: "Unpacking sandbox startup latency: why started ≠ ready"
description: "Container scheduling and boot time, the figure most sandbox benchmarks measure as time to interactive, is usually the smallest part of startup latency."
url: "https://swe.quest/articles/unpacking-sandbox-startup-latency-why-started-ready-4140487180749d22"
canonical: "https://modal.com/blog/unpacking-sandbox-startup-latency"
source: "Modal"
published: "2026-06-22"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["sandboxing","performance","serverless","ai-agents"]
---

# Unpacking sandbox startup latency: why started ≠ ready

A post on [Modal](https://swe.quest/sources/modal.md), published 2026-06-22, 7 min read, Announcement. Original: [https://modal.com/blog/unpacking-sandbox-startup-latency](https://modal.com/blog/unpacking-sandbox-startup-latency)

## Summary

Container scheduling and boot time, the figure most sandbox benchmarks measure as time to interactive, is usually the smallest part of startup latency. The gap between a sandbox being Started and being Ready (git clone, npm install, servers coming up) often runs to multiple seconds or more. Modal recommends warm sandbox pools backed by a modal.Queue to take that setup cost off the user's critical path, with Directory Snapshots to mount per-project state into generic pre-warmed sandboxes. The newly GA Readiness Probes, either a TCP port or an exec command checked via wait\_until\_ready(), replace fixed sleeps and custom health checks and add a ready event to the dashboard timeline.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- containers basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- Python ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

Modal, Readiness Probes, modal.Queue, Directory Snapshots, warm pools

## Related posts

- [Scaling to 1 million concurrent sandboxes in seconds](https://swe.quest/articles/scaling-to-1-million-concurrent-sandboxes-in-seconds-44dad4f83cd974c1.md): Modal · 2026-07-16 · Medium · 10 min read · Scheduling, Scaling, Sandboxing & isolation, Distributed systems, Containers
  Modal rebuilt its sandbox control plane to run 1 million concurrent sandboxes, creating all of them in under a minute, by removing central coordination and durable stores from the creation path.
- [How Ramp built a full context background coding agent on Modal](https://swe.quest/articles/how-ramp-built-a-full-context-background-coding-agent-on-modal-8c26a10f9ce0801d.md): Modal · 2026-02-19 · Easy · 6 min read · AI agents, AI for coding, Sandboxing & isolation, Developer productivity
  Ramp Inspect, an internal background coding agent, runs each session in a Modal Sandbox containing a full dev environment (Postgres, Redis, Temporal, RabbitMQ, OpenCode, VS Code server, VNC with Chromium) and now starts roughly half of merged pull requests at Ramp.
- [How Abundant designed efficient rollout architecture with Modal Sandboxes](https://swe.quest/articles/how-abundant-designed-efficient-rollout-architecture-with-modal-sandboxes-6590e651fd7feefd.md): Modal · 2026-11-19 · Easy · 4 min read · Sandboxing & isolation, Model training, Evaluation, Serverless, Cost optimization
  Abundant runs its reinforcement learning rollout platform on Modal, with each of 75,000+ RL tasks executing in an isolated Modal Sandbox and Modal Functions powering the scheduler API.
- [Directory Snapshots: Resumable project state for Sandboxes](https://swe.quest/articles/directory-snapshots-resumable-project-state-for-sandboxes-13d39562cbeec9ee.md): Modal · 2026-02-24 · Medium · 5 min read · Sandboxing & isolation, Containers, Storage systems, AI agents
  Modal's Directory Snapshots, now in public beta, capture a single directory from a running Sandbox and mount it into another Sandbox independently of the base image, instead of snapshotting the whole filesystem as one unit.
- [NVIDIA Vera CPUs double throughput for Modal Sandboxes](https://swe.quest/articles/nvidia-vera-cpus-double-throughput-for-modal-sandboxes-40db65dda7f68f56.md): Modal · 2026-10-19 · Medium · 6 min read · Hardware, Performance engineering, Multi-tenancy, Sandboxing & isolation, AI agents
  Modal benchmarked NVIDIA's Arm-based Vera CPU for its multi-tenant Sandbox workloads and found up to 2x task throughput versus a comparable Intel Granite Rapids x86 host under heavy concurrent load.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
