知识卡片
服务大使隔离环境差异
同一应用在公有云可能连接托管数据库,在私有环境可能需要发现或创建自管实例。服务大使承担环境识别和连接建立,应用仍使用本地统一入口。这使应用不必嵌入各环境的发现规则,但实际数据库语义和生命周期差异仍需由平台契约说明。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 4. Ambassadors · 查看原书依据
This process is called service discovery, and the system that performs this discovery and linking is commonly called a service broker. As with previous examples, the ambassador pattern enables a system to separate the logic of the application container from the logic of the service broker
参考来源
- 位置:《Designing Distributed Systems, 2nd Edition》第04章《Chapter 4. Ambassadors》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch04.html)
- 结论依据:原文用不同环境中的MySQL来源说明service broker代理的职责。
- 原始内容:This process is called service discovery, and the system that performs this discovery and linking is commonly called a service broker. As with previous examples, the ambassador pattern enables a system to separate the logic of the application container from the logic of the service broker