首页|基于TSE的全链路灰度发布实践方案

基于TSE的全链路灰度发布实践方案

扫码查看
软件开发过程中,应用发布非常频繁,通常情况下,开发或运维人员会将系统里所有服务同时上线,使得所有用户都使用新版本.但这样的操作时常会导致发布失败,或因发布前修改代码,出现线上Bug.假设一个在线商城每天都有大量的用户访问,若直接在所有用户中部署新版本应用,一旦出现问题,所有用户都可能受到影响.相比之下,基于云原生技术,引入灰度发布策略,可以先将新版本的应用部署到少量的用户中,检查是否存在问题,如果没有,再逐步扩展到更多的用户中.通过实践使用腾讯云微服务引擎(Tencent Cloud Service Engine,TSE)提供的网关和服务治理能力,在不修改任何业务代码的情况下,可视化配置灰度规则,实现云上全链路灰度发布,解决了全量发布的各种弊端.
Whole-Link Gray Release Practice Scheme Based on TSE
In the software development process,application releases are very frequent.Usually,developers or maintainers will put all services in the system online at the same time,so that all users use the new version.But such operations often lead to failed releases,or due to code modification before release,bugs appear online.Suppose an online mall has a large number of users visiting every day,if a new version of the application is directly deployed among all users,once a problem occurs,all users may be affected.In contrast,based on cloud-native technology,by introducing a gray release strategy,the new version of the application is first deployed to a small number of users to check if there are any problems.If not,it is gradually expanded to more users.Through the practical use of the gateway and service governance capabilities provided by Tencent Cloud Service Engine in this article,without modifying any business code,the gray rules are visually configured to realize the full-link gray release on the cloud and verify and solve various disadvantages of the full-release.

cloud-nativegray releaseTSE

林志灿、邱浩

展开 >

闽南理工学院 实践教学中心,福建 泉州 362000

腾讯 腾讯云,广东 深圳 518000

云原生 灰度发布 TSE

2024

电脑与信息技术
中国电子学会,湖南省电子研究所

电脑与信息技术

影响因子:0.256
ISSN:1005-1228
年,卷(期):2024.32(6)