知识卡片
网关可集中横切入口能力
界面和领域服务之间可加反向代理或 API 网关,集中对外暴露、指标、安全、审计、服务发现和多实例负载均衡。网关是可选入口层;是否放入某项横切能力应看职责和故障范围,不能把“有网关”误认作这种风格的必要条件。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Service-Based Architecture Style · 查看原书依据
it’s possible to add an API layer consisting of a reverse proxy or API Gateway between the UI and services
参考来源
- 位置:《Fundamentals of Software Architecture》原书第14章《Service-Based Architecture Style》(阅读计划第17项;源文件:`OEBPS/ch14.html`)
- 结论依据:原文把网关作为可选变体,并列出共享横切能力与负载均衡用途。
- 原始内容:it’s possible to add an API layer consisting of a reverse proxy or API Gateway between the UI and services