知识卡片
网关可遮蔽服务迁移位置
把稳定 API 入口放在网关后,可以在本地与云端服务之间逐步切换路由,减少消费者感知到的地址和部署变化。迁移期间仍需验证跨网络延迟、错误语义及回退路径;入口稳定不等于行为天然兼容。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
use of an API gateway can provide location transparency for services and APIs being served, which allows the deployment of a service into the cloud and traffic to be gradually shifted from the existing service to the new with limited (or no) impact on consumers. You will also explore nascent migration options for migrating services to the cloud using the multilocation/cluster functionality of a service
参考来源
- 位置:《Mastering API Architecture》第9章《Using API Infrastructure to Evolve Toward Cloud Platforms》之《Chapter 9. Using API Infrastructure to Evolve Toward Cloud Platforms》(源文件:_epub-src/OEBPS/ch09.xhtml)
- 结论依据:原文指出网关提供位置透明性,使云端新服务逐步接收原有流量。
- 原始内容:use of an API gateway can provide location transparency for services and APIs being served, which allows the deployment of a service into the cloud and traffic to be gradually shifted from the existing service to the new with limited (or no) impact on consumers. You will also explore nascent migration options for migrating services to the cloud using the multilocation/cluster functionality of a service