Docs · Configure
Sleeping, scaling and sizes
An app with no traffic for 5 minutes goes to sleep, and stays asleep with its memory kept for a day. A request in that day wakes it in about a tenth of a second. You pay for compute only while it is awake. On paid plans homeport adds and removes copies with the load. There is nothing to set.
How sleeping works
- An app with no connections for 5 minutes goes to sleep. The idle time is not configurable.
- Asleep, its memory is kept, compressed, and nothing runs. It stays asleep for a day, on every plan. A request in that day wakes it in about 0.1 seconds (we measured 60 ms for a Go or Bun app, 130 ms for Next.js, 240 ms for Laravel), and is held until it answers. It is not dropped and not answered with an error page.
- After a day asleep, the app is stopped. The next request starts it fresh, which takes as long as your app takes to start: about half a second for a Go binary, a few seconds for a large Next.js app. While it starts, it gets a full CPU core for a few seconds. In rare cases of memory pressure a sleeping app can be stopped sooner.
- If an app is not listening 30 seconds after it was woken, the request fails.
- Static sites never sleep. Nothing runs: their files are served directly, and they have no size.
Your app’s Usage tab shows when it was awake and asleep. Time asleep or stopped is not billed; see Plans, usage and billing. A cron job runs on its own and doesn’t wake the app.
Copies
There is nothing to set. On a paid plan, homeport adds copies of a busy app when its copies’ CPU runs high, and removes them when it’s quiet, all the way back to zero: the app sleeps when idle like any other.
- On Free, an app is one copy that sleeps when idle.
- Each copy is billed for the memory it uses, while it runs.
- On a paid plan, processes, such as a queue worker, run all the time, even while the web sleeps. On Free, they don’t run.
Copies share nothing: keep sessions, uploads and caches in your database or a bucket, not in the app’s memory or disk. A deploy or a wake replaces a copy too, so this holds even with one copy.
For Laravel 12 and later, homeport sets its log default, and its sessions, cache and queue already use the database. In plain PHP, native sessions are files, so move them to the database.
Slow-starting apps
On a paid plan, an app that takes over 2 seconds to answer when it starts fresh is kept asleep past the day, so it still wakes in about a tenth of a second. Kept asleep costs nothing. It is stopped sooner only if its host needs the memory.
Sizes
On a paid plan, an app gets the memory it needs. If it runs out, homeport restarts it with more; if it uses under half for a week, homeport trims it back. You are billed for the memory it uses, not a size. Its processes run at the app’s memory too.
Free apps have 256 MB. One that runs out restarts, and its owner is emailed once a week.
CPU is shared: an app gets its share of a core when the host is busy, and on a paid plan bursts past it to its plan’s ceiling. Free apps are held to 25% of a core, hard.
An app that runs near its ceiling for half an hour while serving under a tenth of its usual requests is held to its share, and its owners are emailed. That CPU isn’t billed.
| Plan | Memory | CPU |
|---|---|---|
| Free | 256 MB | 25% of a core, hard |
| Starter | As it needs, billed by use | ½ core, bursts to 2 |
| Growth | As it needs, billed by use | 2 cores, bursts to 4 |
| Business | As it needs, billed by use | 4 cores, bursts to 8 |
What memory and CPU cost
Compute is billed per GB-hour awake: the memory in use in GB, multiplied by hours awake, at $0.015 per GB-hour. An app using 512 MB awake for 100 hours in a month uses 50 GB-hours, which is $0.75. The same app awake all of a 730-hour month is 365 GB-hours, $5.48, and two copies of it twice that.
CPU is billed for the time it is used while awake, at $0.03 per core-hour, from December 1, 2026. An app averaging 5% of a core, awake for 240 hours, uses 12 core-hours: $0.36. On Free, CPU is never billed.
If your plan changes
On a smaller plan, CPU above its limits is reduced to it, apps on Free go back to 256 MB and one copy that sleeps when idle, and apps beyond the plan’s app count are paused, newest first. A paused app shows paused: past the plan's apps.