Features

Runtime

GA & BetaFree, Hobby, Pro, Scale

Isolated microVMs that park to $0 and pre-wake downstream services automatically

Every workload runs in its own Firecracker microVM that snapshots to disk at zero RAM cost (SSD platform-only snapshot-restore p95 target: below 350 ms) and pre-wakes internal service dependencies automatically.

Updated

Configure after_restore hooks and multi-service wake-ahead in YAML

Most scale-to-zero platforms force either shared container kernels, multi-second cold starts, or cascading delays when an edge API calls internal microservices. Gregale pairs hardware-virtualized Firecracker snapshots with Service Wake-Ahead, after-restore lifecycle hooks, and zero-rewrite OCI compatibility.

yaml
# gregale.yaml — refresh in-memory connections right after snapshot restore
lifecycle:
  after_restore:
    path: /internal/after-restore
    timeout_ms: 500

# compose.yaml — toggle automatic wake-ahead per dependent service
services:
  billing:
    build: ./billing
    x-gregale-wake-ahead: true

Key capabilities

MicroVM snapshot restore

Idle instances park to snapshot on disk at zero resident RAM. SSD platform-only snapshot-restore p95 target: below 350 ms. Public request latency also includes network transit and can be higher. A fresh cold boot is a separate path.

Service wake-ahead

When an app wakes, Gregale automatically starts waking its parked internal dependencies right away so multi-service chains avoid serialized cold-start stacks.

After-restore hooks & automatic fallback

Run an idempotent loopback hook (X-Faas-After-Restore: 1) after guest clock and entropy repair; if it fails or times out, Gregale falls back cleanly to a fresh cold boot.

Warm pools, wake pages & timelines

Inspect exact phase timings per wake in the Wake Timeline, show branded waiting pages to browser visitors if needed, or keep warm paused capacity on paid plans.

Typical PaaS vs. Gregale

CapabilityTypical PaaSGregale
Workload isolation boundaryShared Linux kernel / cgroup containersDedicated Firecracker KVM microVM per instance
Cascading microservice wakesDownstream services stay cold until caller reaches themService wake-ahead wakes declared dependencies immediately
Post-restore connection refreshStale sockets discovered on live user requestlifecycle.after_restore hook with cold-boot fallback

Deep-dive guides (4)

Related benchmarks & studies

Runnable starters & integrations (6)

Browse all templates

Documentation references

Questions

What does the snapshot restore target measure?

SSD platform-only snapshot-restore p95 target: below 350 ms. Public request latency also includes network transit and can be higher. A fresh cold boot is a separate path. The platform interval covers capacity admission or boot start through the first upstream byte (scheduler, snapshot restore, and internal proxy).

Do I have to configure Service Wake-Ahead manually for Compose apps?

Wake-ahead is enabled automatically for declared project dependencies and can also be toggled per app with gregale app wake-ahead <app> on|off or x-gregale-wake-ahead in Compose.

How do existing Docker images run with scale to zero?

Any stateless Linux/amd64 Docker or OCI container listening on HTTP works without function SDK rewrites. Stateless contract checks also warn before deploy if code relies on local ephemeral disk surviving a park.