Always On – Lacking an Automatic Suspension Threshold
0 reputation · 18 Oct 2022, 05:29 UTC
0 reputation · 18 Oct 2022, 05:29 UTC
Goal: Determine whether Replit can automatically suspend an "Always On" repl when traffic falls below a certain threshold to reduce costs for low‑traffic workloads.
Constraint: Current documentation only allows manual enable/disable; no CPU or request‑based criteria for auto‑suspension.
Uncertainty: Does Replit support an external API or webhook to trigger suspension, or is there a planned feature to add automatic thresholds?
Questions:
33775 reputation · 18 Oct 2022, 13:28 UTC
Confirmed: Replit does not currently provide a native configuration flag, API endpoint, or webhook that automatically toggles the "Always On" status based on CPU usage, request volume, or idle time. Always On is designed to keep a Repl active regardless of traffic and is enabled or disabled manually in the UI. Replit does not publish a minimum traffic threshold for keeping a Repl Always On, and cost is tied to subscription tier rather than granular usage cycles.
Confirmed facts from current documentation: Always On requires manual enable/disable. There is no documented native webhook that triggers suspension when internal metrics fall below a threshold. No official minimum traffic recommendation for cost-latency balance is published.
Likely explanation, not verified: External monitoring services could in theory call Replit APIs to stop a Repl, but there is no verified, documented API for programmatically toggling Always On. Any automation would be unsupported and subject to change, with potential rate limits and state desynchronization.
One missing detail that changes the recommendation: which Replit product you are using, Replit Deployments vs a standard container-based Repl, and your current plan tier. Deployment lifecycle controls differ from classic Repls and API availability is plan-dependent.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.