tcServer 上的零停机部署?
我一直在研究使用 tcServer 的情况,我遇到的一个问题与我一直在使用 tomcat 时遇到的问题相同......部署应用程序时出现中断。
在将应用程序部署到 tcServer 时,肯定有某种方法可以实现零停机吗?
I've been investigating using tcServer and one problem I have is the same problem I have always had with tomcat... outages when deploying applications.
SURELY there is some way to have zero downtime when deploying applications to tcServer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
(正如评论中所建议的,我将其作为答案发布)
从版本 7 开始,Tomcat 支持所谓的“并行部署”,这可能正是您所追求的。以下博客文章讨论了该功能以及最初如何为 tcServer 计划该功能,然后将其迁移/捐赠给 Apache,从而成为 Tomcat 的一个组成部分:
http://tomcatexpert.com/blog/2011/05/31/parallel-deployment-tomcat-7
(as suggested in the comments, I post this as an answer)
Since version 7, Tomcat supports what is called "Parallel Deployment" which may be exactly what you're after. The following blog entry talks about that feature and how it was planned for tcServer at first but was then migrated/donated to Apache to become an integral part of Tomcat:
http://tomcatexpert.com/blog/2011/05/31/parallel-deployment-tomcat-7
如果您使用 Maven/Ant,请参阅 http://tynamo.org/Zero+downtime+deployment+to+Tomcat+7+with+Maven
If you are using Maven/Ant, see the Tomcat 7 parallel deployment script at http://tynamo.org/Zero+downtime+deployment+to+Tomcat+7+with+Maven