How the sizes differ technically #
On this page
For server applications, both shared sizes use the same ZIP format and Node.js runtime. Shared 0.5 GB production normally runs on shared compute; Shared 1 GB runs in its own container. They differ in compute capacity, default sleep setting and WebSocket connection limit. Both support a custom domain and email.
Size and usage explains changing the size and sleep setting. Read rates on the pricing page or through read_rate_card.
At creation, Shared 0.5 GB production sleeps after 30 idle minutes by default; Shared 1 GB keeps one copy running. You can change either sleep setting. For an existing application, read production_sleep in read_status: size alone does not determine its setting. A request to sleeping production waits while it starts (Start after idle and response time).
With production's sleep setting off, a worker in the server process can continue between requests, but deploys, promotes, restarts and platform redeploys can replace that process.
Where the figures come from #
Parentheses identify registry entries such as free-idle-stop and database-connection-limit. Use read_plan_quotas for the sizes' served quantities. Its plan argument takes shared-0.5gb, shared-1gb, dedicated-4gb, or dedicated-8gb.
Response-time estimates come from platform measurements and may not represent your application's compute or workload.
Where production runs #
| Shared 0.5 GB | Shared 1 GB | |
|---|---|---|
| Production runs on | Shared compute | Its own container |
grain in read_status |
pod |
container |
| Kept apart from other applications by | Its own container, with its own CPU and memory bound, files, and network rules, on servers it shares | Its own container on the hosting platform, isolated from other applications at the kernel |
| The process runs as | User ID (uid) 1000, with HOME set to /tmp |
Root, because the image names no user |
| Kept running while idle | Off by default: it sleeps after 1,800 seconds without a request | On by default: one copy runs |
On shared compute, applications share the servers' operating system kernel, and the hosting platform keeps each container's processes, files, memory, and network apart. In both forms your application's files under /app belong to uid 1000.
A group is a set of environments on shared compute. Shared 0.5 GB production uses shared compute when a suitable group is open for new environments. If no suitable group is open, the environment gets its own container and read_status reports container. If suitable groups are open but all are full, the deployment is rejected with 409 group_full.
Server development follows the same placement rule on both sizes. Where each environment runs says more.
Start after idle and response time #
An open WebSocket connection keeps production awake as a request in flight does, so the idle stop does not close it.
| Shared 0.5 GB | Shared 1 GB | |
|---|---|---|
| Production after 30 idle minutes | Sleeps by default; the next request waits while it starts | Keeps running by default; it sleeps if you turn sleeping on |
Typical response (response-time-typical) |
A start after idle of 2.6 to 3.3 seconds, or about 1.8 seconds where the server already holds the application's image. Estimated. | 173 to 176 milliseconds at the 95th percentile, through the platform's edge. Estimated. |
Worst case (response-time-worst) |
About 18 seconds, where the server must first fetch the application's image. Estimated. | A new container's start, 2.9 seconds at the median. Estimated. |
An idle stop keeps your data: the database, the files in storage areas, the secrets, and the settings stay, and the next copy starts with them. Only what the stopped copy held in memory or wrote to its own disk is lost (Warm floor).
To check this with existing database records, see Check data after a restart or idle stop.
Every server development environment sleeps after 30 idle minutes. A stopped development environment starts again on the next request, the next scheduled run, or a deploy. After seven days by default without a successful deploy or a resume, the platform halts it, and then only halt_environment with resume: true or a deploy starts it (The halted state).
CPU and memory #
| Shared 0.5 GB | Shared 1 GB | |
|---|---|---|
CPU (production-replica-size) |
0.25 virtual CPU (vCPU) | 0.5 vCPU |
Memory (production-replica-size) |
0.5 GiB | 1 GiB |
CPU usage above the limit is throttled. Exceeding the memory limit terminates the process, which the platform restarts.
In a November 25, 2026 development trial, a container app waited about 10 seconds before its first restart after a memory end. The pod's first restart began right away. On later ends, the wait doubled from about 10 seconds up to five minutes on each grain. Eleven minutes of stable running was enough to reset the wait on both.
While the pod process was down, requests went unanswered for the three seconds the trial waited on each. The container app answered the first few requests with 502, then later ones went unanswered for the same three seconds. On the pod, read_status showed Idle with a null restart count during an earlier wait. It later showed CrashLooping with compute_restarts at 5. The container app's status stayed Running with a null restart count during the trial's waits. Now last_end can show a container process end from the provider's log. compute_restarts still reads null outside a crash loop. See Status and logs.
The figures are bounds; no capacity is reserved. On either size the copy uses up to its bound where the servers have the CPU and memory free. Where a server runs short of memory, it stops a development copy first.
By default, a development container has 0.25 vCPU and 0.5 GiB. A development pod’s default limits come from the platform’s pod settings, normally 1 vCPU and 0.5 GiB.
With the owner’s choice to match production’s size, development takes that size’s CPU and memory limits. On Shared 0.5 GB, matching leaves the awake-time rate and a development container’s limits unchanged. On a development pod, the CPU limit falls from 1 vCPU to 0.25 vCPU on Shared 0.5 GB or 0.5 vCPU on Shared 1 GB. Its memory limit is 0.5 GiB on Shared 0.5 GB or 1 GiB on Shared 1 GB.
Matching preserves the placement type. A pod keeps its development group and resource requests, and it is still among the first copies stopped under memory pressure. See Check development before promoting.
Scale #
Each environment runs one copy, with temporary overlap during replacement. It does not add copies under load. Shared 1 GB provides twice the CPU and memory of Shared 0.5 GB.
A size change between Shared 0.5 GB and Shared 1 GB moves production between shared compute and its own container. The platform starts the new copy, checks its health, and switches requests to it, as a promote does. The running copy serves until the switch, so the move costs one start of the new copy, made before it takes requests.
set_app_size returns applying while production is being re-created, with the requested size, environment and version. Read that version through read_status. The platform records the new size when the replacement copy starts serving requests. If the redeploy fails or is ended, the recorded size stays unchanged. Production already busy with a deploy, promote or redeploy refuses any size or sleep-setting call with deploy_in_flight, even for unchanged values. Change the size explains the call and its other refusals.
Changing development_at_size can also re-create an already deployed development copy. If changes to production_sleep and development_at_size both start redeploys, applying names production's version only. Call read_status with wait_seconds until settled is true, then check the outcome in each environment and the recorded settings. To move to another size, turn matching off first. Development still sleeps when idle, and its awake time is billed separately at the recorded rate.
Database connections #
| Shared 0.5 GB | Shared 1 GB | |
|---|---|---|
Client pool maximum per process (database-connection-limit) |
10 | 10 |
| Server connections the database role admits | 20 | 20 |
The table shows the usual defaults for the two shared sizes. Check the current database-connection-limit with read_plan_quotas before setting your client pool size.
On a new deploy of a server with a shared database outside the Unlimited plan, APP_DATABASE_URL uses the shared pooler. A transaction waits up to 15 seconds for a free server connection before it fails. A client pool can be too large even when it opens successfully.
APP_DATABASE_DIRECT_URL connects straight to the server. A version deployed with a direct APP_DATABASE_URL keeps that address across a promote, rollback, restart or platform redeploy. On the direct port, PostgreSQL refuses connections beyond the role's bound with too many connections for role. Pooler server connections count toward that same bound beside direct connections.
Set your client pool's maximum to the figure, which every copy receives as APP_DATABASE_CONNECTION_LIMIT. The connection limit explains the rest.
Schedules #
| Shared 0.5 GB | Shared 1 GB | |
|---|---|---|
Shortest interval between runs (schedule-minimum-interval) |
1 minute | 1 minute |
Schedules per application (schedule-count-limit) |
25 | 25 |
A scheduled run is one request, with a window of 230 seconds by default against an ordinary request's 180 seconds. Both windows are the same on either size.
A run that finds an environment stopped starts it first, and the start counts inside the run's window. A schedule due more often than every 30 minutes keeps a sleeping environment running, because each run arrives before the idle stop. Run scheduled work gives the rest.
Outages and platform updates #
The same holds on either size:
- An update to the platform's base image. Your running version keeps the base image and the platform's runtime it was built on until your next deploy, so an update restarts nothing. In
read_status,baseshows whether the serving version's base image is out of date.harness_current, on the latest deploy inread_statusand on each version inlist_versions, shows whether that version's runtime is current. - A zone failure. Each environment runs one copy, in one zone of the region. Where that zone fails, the copy stops until the hosting platform starts it again in another zone. The recovery time is published when measured.
- A database restart or zone failure. An application database server has no standby. It restarts in place for maintenance or after a machine failure, ending every open session. The Database package's failover pool keeps the process serving while requests return their own errors. Its startup walk retries lost connections for up to 120 seconds. If the server's zone fails, its databases stay unavailable until the zone returns; the platform does not move them to another zone.
What shared compute changes for your code #
- The console. On shared compute,
read_logswith the sourcecontainerreads the live console of each copy that still stands, after the first and last lines of copies that have ended, marked[pod-ended]. Once production sleeps when idle, its read returns only those ended-pod lines from the read's window until it next starts (How long console lines last). What your code writes through the Logging package stays in the logging service's store on either size (How log records arrive). - WebSockets. Both Shared 0.5 GB and Shared 1 GB support WebSockets on shared compute and in their own container. Their connection limits differ (Use WebSockets).
What both sizes have the same #
- The artifact: the same zip, manifest, image, and Node.js 24 runtime, built the same way.
- Production and optional development, with promotion and rollback.
- All three audiences: public, invited, and workforce.
- The platform's settings, its network controls, and its request limits.
- A database for each environment on the platform's shared servers, and the storage areas. The shared database is one monthly item per application, covering both environments. The daily billing run counts it while the application holds a shared database.
- The logging service's store and counters.
Beyond compute and the default sleep setting, the sizes differ in WebSocket connections. The limit per environment is 200 for Shared 0.5 GB and 500 for Shared 1 GB. It applies on each serving router replica, a running copy of the router. Their other limits are the same (Size limits).
Related #
- Size and usage changes the size and reads the month's usage.
- Applications and environments explains where each environment runs.
- Add a database explains the connection limit.
- A deployed app's settings lists the settings and the user each copy runs under.