Welcome to LaunchVerseQuickstartDashboard OverviewImporting Projects
LaunchVerse ForgeScale-to-ZeroEnvironment Variable VersioningRollbacks & PromotionsPreview Environments
Helix CopilotEphemeral SandboxesAI Log Explainer
The LaunchVerse EdgeCustom Domains & TLSDomain PurchasingTwo-Factor Authentication (TOTP)IP Allowlists
Managed DatabasesDatabase Backups & RestoresLog DrainsObservability
Project GroupsRole-Based Access Control (RBAC)
Student ProgramDeveloper Streaks
AuthenticationProjectsDeploymentsDomainsDatabasesError Codes & Conventions
Changelog
Deployment GuideEnvironment Variables & SecretsTeam ManagementWeb ShellHow Builds Work (Forge)
JavaScript SDKPython SDK
API Reference (Redoc)

Scale-to-Zero

LaunchVerse allows you to configure your environments to automatically Scale-to-Zero when they are idle. This serverless-like capability is perfect for development environments, internal tools, or staging branches, allowing you to save resources and reduce costs while maintaining high availability.

How it Works

  1. Idle Detection: The LaunchVerse Edge network constantly monitors incoming HTTP requests to your application.
  2. Spin Down: If an application receives zero requests over a configurable idle timeout period, the LaunchVerse Engine safely spins down the underlying container, releasing its vCPU and RAM back to your resource pool.
  3. Cold Start Wake-up: When a new request arrives at the Edge router, LaunchVerse instantly halts the request, wakes up your container on the Engine, and proxies the request through once the container is healthy.

Enabling Scale-to-Zero

You can enable Scale-to-Zero on a per-project or per-environment basis.

  1. Navigate to your Project Settings.
  2. Go to the Resources & Scaling tab.
  3. Toggle Enable Scale-to-Zero.
  4. Configure your Idle Timeout (e.g., 15 minutes, 1 hour).

> [!NOTE]

> Cold starts on the LaunchVerse Engine typically take between 1 to 3 seconds depending on your application size and framework (e.g., Go/Rust applications wake up significantly faster than heavy JVM or Node.js applications).

Use Cases

    1. Preview Environments: Automatically apply Scale-to-Zero to all PR Preview environments so you only consume compute resources when actively testing a PR.
    2. Staging/QA: Spin down your staging databases and API layers over the weekend when your team is offline.
Edit this page on GitHub↗