Snapwake

DocsReference

Limits

Hard limits of the platform during the beta. Plan limits (number of apps, memory per VM, VMs per app, volume size) are in Usage, plans and limits.

Apps and processes

Limit
App name lowercase letters, digits and -; starts and ends with a letter or digit; at most 40 characters
Processes per app 1 (web or worker)
Memory per VM 64 MB to 65536 MB, within your plan; default 512 MB
CPUs per VM 1
VMs per app (max) 1 to 64, within your plan; 1 for apps with volumes
Requests in flight per VM before scaling (concurrency) 1 to 1000; default 4
Versions remembered the last 10; the current and previous one are kept on the servers
Disk speed per VM 100 MiB/s and 5000 operations per second per disk, with a 5-second burst at boot

Builds

Limit
Uploaded folder 512 MB
Build VM 4 GB of memory, up to 4 CPUs
Build time 20 minutes
Finished image 16 GB
Build arguments 64
Image platform linux/amd64

Secrets

Limit
Name letters, digits and _, starting with a letter or _; at most 256 characters
Value one line, no newlines
All of an app's secrets together 64 KB as KEY=VALUE lines
Per secret set call 1000 names, 256 KB

Volumes

Limit
Volumes per app 4
Size of one volume 64 MB to 1 TB, within your plan; grow only
Path absolute, not /, at most 200 characters, no .., , or :

Sleep and wake

Limit
Idle time before a web app sleeps 10 seconds without a byte on any connection
A request waiting for the app's answer keeps it awake for up to 15 minutes
Extra VMs (beyond the first) sleep after 20 seconds without requests
Idle time before a queue worker sleeps 30 seconds
Warm shutdown of a queue worker up to 10 minutes
Wake hooks 1 second, then the request goes through
Waiting for a wake slot on a busy server up to 30 seconds, then 503
Waiting for memory for a wake up to 5 seconds, then 503

Requests

Limit
Time until the app starts its response (public URL) 100 seconds, then 504
Request headers 32 KB, received within 10 seconds
Request and response bodies no limit of Snapwake's own; Cloudflare's limits apply
WebSockets through the public URL not supported yet
Health check timeout 3 seconds, interval 1 to 3600 seconds (default 10)
Restart pauses after failures 0, 1, 2, 4 seconds; after 5 failures in a row the app is broken and retried every 5 minutes
Connections to the old version after a deploy finish within 60 seconds

Network, per VM

Limit
Outbound open connections 2048
Outbound new connections 100 per second, bursts to 200
Outbound bandwidth 25 MB/s each way, bursts to 50 MB/s
Outbound port 25, private addresses, IPv6 blocked
Calls to other apps (*.internal) 256 open, 200 new per second
DNS queries 200 per second
Postgres pool 64 open, 50 new connections per second
Queue-worker Redis links 32 connections, 16 MB per command or reply

Logs

Limit
Kept per app the current log up to 16 MB, plus the previous 16 MB
snapwake logs the last 100 lines