Skip to content

Scaling & resources

Pick how much your service gets when you create it — change later from the dashboard.

ResourceRangeDefault
CPU0.1 – 2.0 cores0.5
Memory64 – 1024 MB256
Disk1 – 1000 GBdisabled

If your app holds state on disk (uploads, SQLite, caches), enable persistent storage and set a mount path — the disk is preserved across restarts and redeploys.

Autoscaling on Runsite is horizontal — more instances of the same container, not bigger ones. Set a min and max number of instances; Runsite watches CPU and memory and adjusts in between.

  • Idle traffic runs at min instances.
  • When average CPU stays above ~80% or memory above ~85%, more instances are added — never above max.
  • When load drops, instances are removed back down to min.

Configure it in Settings → Scaling. To change the size of each instance instead, edit CPU and Memory above — that’s the vertical lever.

A service can be set to sleep after a period without traffic. The next incoming request wakes it back up — usually under a second. Great for low-traffic services and preview environments.

Sleeping is transparent to clients: they just see a slightly slower first request after the wake-up. While asleep the service shows status SLEEPING — see Runtime → Deploy states.