知识卡片

结构图卡 · 2313.e.5.f.10.b.3.i.2.e · 生成模型:未记录

网关连接产品与微服务

理解等级:中级

微服务在自己的限界上下文内实现一项业务能力并独立部署。API 网关是反向代理,向消费者暴露产品接口,再按配置路由给相关服务,并承担认证、限流等通用职责。开发者门户发布接口参考和使用指南。区分外部产品与内部服务后,可以单独管理契约、文档和后端部署。

结构图:

flowchart LR
    A[消费者应用] --> B[API 产品入口]
    B --> C[网关路由]
    C --> D[后端微服务]
    A -.查阅文档.-> E[开发者门户]
这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 什么是 APIOps 1.4 Why should you care about APIOps? · 查看原书依据

      An API gateway is a reverse proxy that serves as an entry point to API products. Along with routing requests from the API products to the backend microservice APIs, API gateways can also offer security, traffic management, analytics, message transformation, and orchestration capabilities. The API gateway exposes the API product interface to API consumers. API consumers are the developers creating software applications that integrate with the API.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 01 章 什么是 APIOps》(1.4 Why should you care about APIOps?;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-1.xhtml#p71) - 结论依据:原文列出网关的入口、路由和横向能力,以及消费者和开发者门户的分工。 - 原始内容:An API gateway is a reverse proxy that serves as an entry point to API products. Along with routing requests from the API products to the backend microservice APIs, API gateways can also offer security, traffic management, analytics, message transformation, and orchestration capabilities. The API gateway exposes the API product interface to API consumers. API consumers are the developers creating software applications that integrate with the API.