完全部署与增量部署的优缺点 [英] Full deployment vs incremental deployment pros/cons

查看:127
本文介绍了完全部署与增量部署的优缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个支持.NET应用程序维护项目的完整部署过程的团队中工作。这意味着从TFS获取所有内容,构建它并将其转储到Web服务器上。它还需要重载TFS,保留网站上的每个文件,包括图像,第三方dll,不属于源代码的临时文件,因为这可能会在下次部署时覆盖或删除。它导致诸如更长的停机时间,测试,完整备份,完全回滚,配置问题,意外错误等问题。由于该项目包括250多个文件夹,1400多个文件和80多个DLL。每次部署时,它都会更改每个文件的修改日期,如果发生问题,则无法验证导致问题的文件/配置更改,然后我们必须执行完全回滚。我们所有的修复/更改都限制为每周最多1-2个文件或DLL。我觉得增量部署在我们的情况下工作得更好,这意味着只比较/验证和替换应该被替换的文件。它还减少了破坏其他不属于变更版本的其他东西的机会。我看到的唯一缺点是它可能导致TFS和服务器之间的差异。但是风险可以通过每月文件比较/审计来减少风险,如果没有检查TFS的内容也应该检查差异,即使使用完全部署程序我们也需要执行活动。



请为我们的维护项目建议最佳的部署策略。



我的尝试:



我建议使用增量部署程序来减少部署问题和测试工作。

I work in a team that heavy supports full deployment procedures for .NET application maintenance projects. That means taking everything from TFS, build it and dump it on the Web server. It also requires overloading TFS with keeping every file from website including images, third party dlls, temp files that are not part of source code because that may risk overwriting or deletion during next deployment. It is causing issues like larger downtime, testing, full backups, full rollbacks, configuration issues, unexpected errors. As the project includes 250+ folders, 1400+ files and 80+ DLLs. Every time deployment made, it changes Modification dates on each file and it becomes impossible to validate which file/configuration change caused the problem if it happens and then we have to do full rollback. All our fixes/changes are limited to max 1-2 files or DLLs weekly. I feel Incremental deployment works better in our case, that means compare/validate and replace only the files supposed to be replaced. It also reduce chance of breaking somethings else that was not part of the change release. The only drawback I see that it may lead to differences between TFS and the Server. But the risk can be reduced by monthly file comparisons/audit through tools to check discrepancy if something not checked into TFS that supposed too, which we need to perform activity even with Full deployment procedures.

Please suggest the best possible deployment strategy for our maintenance projects.

What I have tried:

I recommended Incremental deployment procedure to reduce the deployment issues and testing efforts.

推荐答案

< a href =https://www.google.com/search?q=Best+deployment+strategy>最佳部署策略 [ ^ ]。


这篇关于完全部署与增量部署的优缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆