What is the definition of a staging environment when developing web applications?

前端 未结 4 539
-上瘾入骨i
-上瘾入骨i 2021-02-02 00:24

When developing a web application for others, multiple environments for testing are a good idea. However, different development teams have different definitions for the meaning

4条回答
  •  甜味超标
    2021-02-02 00:58

    I'd suggest that your staging environment resembles your production environment as closely as possible.

    If you use separate servers for the DB and the Web Server, try to keep that in staging as well, if you use a load balancer, try to configure it for staging as well, etc.

    In my experience, however, this was not the case, and our staging environment was always less powerful in terms of hardware than the production environment. The problem with this is that you can't test every feature and be sure production will work the same.

    As for your other questions:

    • Staging can usually go down when needed, you can have a more flexible schedule for that, to install new versions.
    • We had cases where we installed more than one instance of the application on staging. One resembling the version in production and another with new features for the client to test.

提交回复
热议问题