Enabling Parallel Deployments in Tomcat with Octopus Deploy
Blog post from Octopus Deploy
Octopus Deploy is developing support for Java applications, including a feature for Tomcat that enables parallel deployments, allowing multiple application versions to run simultaneously. This approach helps maintain user sessions during updates by directing new traffic to the updated version while allowing existing sessions to finish naturally. However, it does not resolve issues with changes to shared resources like databases. To utilize parallel deployments, administrators need to configure the Deployment Version field, ensuring that newer versions have higher numbers. Once an application version is no longer in use, Tomcat can automatically undeploy it if configured, aiding in the management of rolling deployments.