Docs · Instance types

Instance types, and how Nap apps sleep and wake

Every Makofy app has one instance type that sets its size and its monthly price: Nap $1.50 (512 MB, 0.5 vCPU, sleeps after 15 idle minutes), Starter $3.50 (512 MB, 0.5 vCPU, always on), Basic $6 (1 GB, 1 vCPU), Pro $12 (2 GB, 2 vCPU) and Dedicated $35 (4 GB and 1 vCPU reserved). A sleeping Nap app wakes on the next request, typically in about 2 to 6 seconds.

Last updated · By the Makofy team (Muncar Ventures LLC)

The five instance types

USD per app per month. Add-ons are extra: Postgres $3/mo, Redis $2/mo.
TypeMemory / CPUPrice per appBehaviourService types
Nap512 MB / 0.5 vCPU$1.50/moSleeps after 15 idle minutes, wakes on the next requestWeb only
Starter512 MB / 0.5 vCPU$3.50/moAlways on. The default for new appsAll
Basic1 GB / 1 vCPU$6/moAlways onAll
Pro2 GB / 2 vCPU$12/moAlways on, protected first when the node is under loadAll
Dedicated4 GB / 1 vCPU reserved$35/moAlways on, with memory and CPU reserved for this app aloneAll

How Nap works

Nap is the cheapest way to keep a web app online: it runs like Starter while it is being used and sleeps when it isn’t.

  • Going to sleep. When a Nap app has had no requests for 15 minutes, Makofy stops it. An open WebSocket or server-sent events connection counts as activity, so a connected client keeps the app awake. A new deploy also resets the idle clock.
  • Waking up. The next request starts the app again. Makofy holds that request while the app boots and then passes it through, so the visitor gets a normal response, just later. Typical wake time is about 2 to 6 seconds, depending mostly on how fast your app starts. Render’s free tier, for comparison, takes about a minute.
  • If the app is slow to boot. Makofy waits up to 45 seconds. If the app still isn’t ready, it answers 503 with a Retry-After header; browsers see a short “waking up” page that reloads by itself.
  • Under memory pressure. When the cluster is short of memory, idle Nap apps can be put to sleep sooner, after 2 idle minutes instead of 15. Always-on types are never put to sleep.

Which type to choose

Your appStart withWhy
Portfolio, demo, side-project API with occasional trafficNap ($1.50)Sleeps when nobody visits; the first visitor after a quiet spell waits a few seconds
Discord or Telegram bot, queue worker, cron jobStarter ($3.50)Must stay on and has no incoming request to wake it
Small production web app or APIStarter ($3.50) or Basic ($6)Always on; Basic doubles memory and CPU
Next.js or Django with real traffic, heavier workersBasic ($6) or Pro ($12)More memory for server rendering and bigger dependency trees
Memory-hungry or latency-sensitive servicePro ($12) or Dedicated ($35)Pro is protected first under load; Dedicated reserves 4 GB and 1 vCPU

If an app runs out of memory it restarts, so memory is usually the limit to size for. Start small, watch the app in the dashboard, and move up a type if it restarts or slows down.

Changing an app’s type

Change the instance type at any time from the app’s settings in the dashboard. The app is redeployed with the new size, and billing is prorated, so you pay the new price only from the moment you switch. See the pricing & billing FAQ for details.

FAQ

Frequently asked questions

How long does a Makofy Nap app take to wake up?

Typically about 2 to 6 seconds, depending on how fast your app starts. The waking request is held and then answered normally.

When does a Nap app go to sleep?

After 15 minutes without requests. Open WebSocket or server-sent events connections keep it awake; under memory pressure on the cluster it can sleep after 2 idle minutes.

Can a background worker or bot use Nap?

No. Nap is for web services only; workers, bots, cron jobs and private services need Starter ($3.50/month) or larger.

What is the difference between Pro and Dedicated?

Pro ($12) has 2 GB and 2 vCPU and is protected first when a node is under load. Dedicated ($35) reserves 4 GB of memory and 1 vCPU for the app alone.

Can I change the instance type later?

Yes, any time from the app’s settings. The change is prorated.

Related

Deploy your app in a few minutes.

Connect a GitHub repo or run makofy deploy. Flat price per app, 7-day free trial, card required.

Start free trial