Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Enabling Parallel Deployments in Tomcat with Octopus Deploy

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Matthew Casperson
Word Count
899
Language
English
Hacker News Points
-
Summary

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.