开发者

java tomcat web application war update for critical system

开发者 https://www.devze.com 2022-12-17 20:49 出处:网络
web application update best practice.. normally how you folk do web application update from large critical system? do u forward user to page stating upgrading in progress on another web server; quick

web application update best practice..

normally how you folk do web application update from large critical system? do u forward user to page stating upgrading in progress on another web server; quickly deploy new war and point back ?

can provide some gui开发者_如何学JAVAdes..


If possible, run two tomcat servers, with an Apache web server in front, load balancing the requests between the two.

When it comes time to upgrade, tell Apache to use only Tomcat A, then upgrade Tomcat B, tell Apache to use Tomcat B, upgrade Tomcat A, then back to using both.

No major interruption of service, if you do it right, although without session replication you're going to get some intra-session disruption. It's not as easy as it sounds, though.

As always, the lengths to which you go to minimise disruption depends on how important that disruption is. You can always make it smoother, at more expense and effort.

0

精彩评论

暂无评论...
验证码 换一张
取 消