Open Editor →

The App Lifecycle

Learn how the orchestrator manages your container's availability, handling hibernation and automatic recovery.

The Challenge of Scale

Hosting Python web applications in isolated containers requires significant server RAM. If thousands of developers deploy applications simultaneously, keeping all of them running 24/7 would require an unsustainable amount of hardware.

To provide high-quality hosting to everyone, Python Online implements a tiered lifecycle model, using an automated "Janitor" to manage server memory.

Smart Hibernation

Applications follow an Ephemeral Lifecycle. This model ensures that server resources are used efficiently across the entire community.

When you deploy an app, it launches immediately. However, if your application does not receive active traffic for a period of time, the orchestrator will safely hibernate your container to reclaim memory.

The Wake-Up Routing

Hibernation does not mean your site is offline. Python Online's Edge Router maintains a persistent fallback route for your subdomain. If a visitor attempts to access your sleeping application, they are served a "Wake Up" screen. One click triggers a fast-boot sequence—re-spawning your container and redirecting the visitor to your live app in less than a second.

Self-Healing & Resilience

Cloud infrastructure is occasionally subject to maintenance reboots. Python Online is built with a resilient recovery engine. If a server reboots, ephemeral apps will naturally return to the "Sleeping" state and are ready to be woken up by the next visitor.