美文网首页前端实用主义让前端飞
API网关的常用功能及架构图

API网关的常用功能及架构图

作者: Mr_Treasure | 来源:发表于2018-03-27 17:52 被阅读41次

    API Gateway is a type of service in a microservices architecture which provides a shared layer and API for clients to communicate with internal services. The API Gateway can route requests, transform protocols, aggregate data and implement shared logic like authentication and rate-limiters.

    API网关是一种在微服务架构中对外提供统一接口,队内进行内部服务调用的中间层。API网关可以分发路由、转换协议、收集数据、继承通用接口 比如认证、以及限流。

    API Gateway as an entry point to microservices

    API网关能够实现的功能

    1. 统一的认证


      Authentication
    2. 整合、收集数据
      [图片上传失败...(image-e31639-1522144209517)]
    3. 转换数据格式
      [图片上传失败...(image-91dd5a-1522144209517)]
    4. 转换协议
      [图片上传失败...(image-4e9a1b-1522144209517)]
    5. 流量限制以及缓存

    相关文章

      网友评论

        本文标题:API网关的常用功能及架构图

        本文链接:https://www.haomeiwen.com/subject/owmscftx.html