使临时服务器与生产相同的主要目的和意义是什么? [英] What is the main purpose and sense to have staging server the same as production?

查看:51
本文介绍了使临时服务器与生产相同的主要目的和意义是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们公司,我们有临时服务器和生产服务器.在最新版本发布后,我试图让它们处于 1:1 状态.我们已经在多个主机和它的许多实例上运行了 Web 应用程序.

In our company we have staging and production servers. I'm trying to have them in state 1:1 after latest release. We've got web application running on several host and many instances of it.

问题是我提倡在临时服务器和生产服务器上使用相同的 Web 应用程序架构(结构),以便轻松测试新功能并避免在新版本中产生新错误.

The issue is that I am an advocate of having the same architecture (structure) of web applications on staging and production servers to easily test new features and avoid creating of new bugs with new releases.

但并不是每个人都同意我的观点,对他们来说,在暂存应用程序实例之间建立不同的连接并不是什么大问题.甚至可能比生产服务器上的应用程序和应用程序之间的连接更多.

But not everyone agree with me, and for them is not a such big deal to have different connection between staging application instances. Even maybe to have more application and connections between application on staging than on production server.

我想问一下这种方法的利弊?我的意思是同意我的一些好的观点,或者一些不好的观点,为什么我没有权利.一些后果的例子等等.

I would like to ask about pros and cons of such an approach? I mean some good points to agree with me, or some bad why maybe i don't have right. Some examples of consequences and so forth.

推荐答案

如果您的临时服务器与您的生产服务器有很大不同,那么在临时服务器上成功部署和测试并不会告诉您很多信息当您最终部署到生产服务器时,世界是否会崩溃.

If your staging server is substantially different from your production server, then successful deployment and testing on the staging server does not tell you much about whether the world will come down crashing on you when you finally deploy to the production server.

我认为您的同事喜欢的混乱局面没有任何真正的优势来弥补这一明显的劣势.他们声称通过让临时服务器的配置与生产服务器的配置完全不同步他们获得了什么......?!

I do not see any real advantage to your colleagues' preferred chaotic situation, to compensate for this obvious disadvantage. What do they claim they gain by letting the staging server's configuration get totally out of sync with that of the production server...?!

这篇关于使临时服务器与生产相同的主要目的和意义是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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