Best practices for deploying Java webapps with minimal downtime?

前端 未结 18 2052
我在风中等你
我在风中等你 2021-01-29 18:28

When deploying a large Java webapp (>100 MB .war) I\'m currently use the following deployment process:

  • The application .war file is expanded locally on the develop
18条回答
  •  旧时难觅i
    2021-01-29 18:45

    Not a "best practice" but something I just thought of.

    How about deploying the webapp through a DVCS such as git?

    This way you can let git figure out which files to transfer to the server. You also have a nice way to back out of it if it turns out to be busted, just do a revert!

提交回复
热议问题