arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08588cs.NI
收藏

生产前部署:云原生集成测试

Preproduction Deploys: Cloud-Native Integration Testing

Jeremy J. Carroll, Pankaj Anand, David Guo

摘要:

基于云的系统的微服务架构被扩展为不仅要求每个松散耦合的组件是可独立部署的,而且还为每个组件提供独立的路由。这支持金丝雀部署,绿色/蓝色部署和回滚。在发布到生产流量之前,可以将临时和系统集成测试流量定向到组件。前端代码通过使用JS包的服务器端呈现包含在该架构中。集成测试的环境是使用适当的隔离级别,将生产前部署与生产部署并排创建的。在成功的集成测试运行之后,生产前组件就可以与生产环境精确地配合使用了。为了隔离,测试流量使用每天从生产数据库复制的临时数据库,忽略敏感数据。安全和安保问题是以有针对性的方式而不是单一的方式处理的。这种架构可以很好地随组织规模扩展;对于集成测试更有效;并且比传统方法更好地与敏捷业务实践保持一致。

英文摘要:

The microservice architecture for cloud-based systems is extended to not only require each loosely coupled component to be independently deployable, but also to provide independent routing for each component. This supports canary deployments, green/blue deployments and roll-back. Both ad hoc and system integration test traffic can be directed to components before they are released to production traffic. Front-end code is included in this architecture by using server-side rendering of JS bundles. Environments for integration testing are created with preproduction deploys side by side with production deploys using appropriate levels of isolation. After a successful integration test run, preproduction components are known to work with production precisely as it is. For isolation, test traffic uses staging databases that are copied daily from the production databases, omitting sensitive data. Safety and security concerns are dealt with in a targeted fashion, not monolithically. This architecture scales well with organization size; is more effective for integration testing; and is better aligned with agile business practices than traditional approaches.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑