Menu

What breaks when your app scales to zero, and how to catch it
📰

What breaks when your app scales to zero, and how to catch it

DEV Community: serverless·Hüseyin Poyraz Küçükarslan·8 days ago
#UseFrqDO
#devtoserverless#devto#dev#gregale#instance
Long article (1660 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on gregale.dev . I build Gregale, so read this as a vendor's page. Competitor details come from each vendor's own docs, linked in the post. This post was written with AI assistance.

When an app scales to zero, whatever it kept only on its own machine is lost, such as files written to local disk or /tmp and sessions held in memory, and timers or background loops meant to run between requests stop. Anything in a database, in object storage or in the platform's crons and queues keeps working, because it lives outside the instance. On Gregale, every wake starts from the same snapshot and parking discards the instance's local state, so Gregale looks for the usual mistakes: it refuses stateful base images and VOLUME directives when it accepts a deploy, and records an audit row the first time an app writes to a database-shaped directory such as /data or /var/lib/postgresql . These stateless contract checks are generally available on every plan.

What happens to an idle instance

Paused.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.