Hot and Cold Deployment in Tomcat
What is Hot Deployment?
These services can be added to or removed from the running server.it is the process to change in the currently deployed war file without re-deploying it. It is a time-saving process because the developer can simply run the build and have a new auto-deployed code instead of shutdown and startup is massive.
What is Cold Deployment?
Cold deployment is slow as compared with Hot deployment but it is stable. this is defined as a task that requires one or more instances of the server to restart to reflect the changes i.e. for every change, you need to restart the server then changes reflect.
Advantages and Disadvantages:
- Hot Deployment:-
- The business will never be going to stop.
- It prevents you from the manual restart of production server if you made any changes to the contents of the war file being deployed.
- Hot re-deployment of an application sometimes results in Out Of Memory errors.
- Hot deployment deploys simultaneously to all the nodes, resulting in downtime.
- Cold deployment:-
- No caching + also no out of memory issues after subsequent deploys during testing.
- Outage cost is more being a lengthy process.
My Personal Notes arrow_drop_up
Please Login to comment...