微服务——API网关

API网关: API Gateway 是一个服务器,也可以说是进入系统的唯一节点(Gateway可做负载均衡)。这跟面向对象设计模式中的 Facade 模式很像。API Gateway 封装内部系统的架构,并且提供 API 给各个客户端。它还可能有 其他功能,如授权、监控、负载均衡、缓存、请求分片和管理、静态响应处理等。下图展示了一 个适应当前架构的 API Gateway。  API Gatew
相关文章
相关标签/搜索