How does Zero Downtime Deployment work?

DocumentationDeployment > How does Zero Downtime Deployment work?

This article only applies for users that have a plan which allows Zero Downtime Deployment feature. For more information check our pricing page.

Zero Downtime Deployment makes it possible to deploy without any downtime (of course, this could depend on your deploy script). It will create a folder named '{site_domain}-deploy' and create timestamp based folders inside it.

The system keeps 3 versions:

  • Oldest version
  • Recent version
  • Current version

The current version, is linked with a system link to the web directory folder. If you want to hold the storage folder in 1 place, you can create a storage folder inside the '{site_domain}-deploy' folder, and symlink this to your current version. It is also to possible to leave this as it is, it will just copy all your files.

Once you enable Zero Time Deployment, it will not directly change directories, this will only happen once you deploy your application.

30 July 2018
491 views