Does Enclave support zero downtime deploys?

Enclave supports two distinct deployment strategies for application services:

Foreground services

If a service has any Endpoint associated with it, it is considered a foreground service, and Enclave performs a zero-downtime deploy when releasing it, using the following sequence of operations:

  • Launch new containers.
  • Wait for the new containers to pass a mandatory health check.
  • Register the new containers with the Endpoint’s load balancer. Wait for registration to complete.
  • Deregister the old containers from the Endpoint’s load balancer. Wait for deregistration to complete.
  • Shutdown the old containers.

Background services

If a service has no Endpoint associated with it, it is considered a background service, and Enclave performs a zero-overlap deploy when releasing it, using the following sequence of operations:

  • Stop the old containers.
  • Launch the new containers.

The Enclave Platform