API网关Kong系列(一)初识

最近工作需要,加上国内Kong的文章相对缺乏(搜来搜去就那么两篇文章),而且官方文档在某些demo上也有一些过时的地方,遂提笔记录下这些,希望能有帮助。

先随大流介绍下KONG(主要参考官网):

官方站点:https://getkong.org

官方描述:Kong is a scalable, open source API Layer (also known as an API Gateway, or API Middleware). Kong runs in front of any RESTful API and is extended through Plugins, which provide extra functionality and services beyond the core platform.

Kong是一个可扩展的,开源的API层,运行在RESTful前端,可通过插件扩展(认证,安全,流量控制,分析&监控,转换,日志)

使用Kong前,内部API架构

1.通用模块在各API中没有复用

2.难以维护

3.不影响其他服务状态下难以扩展

4.由于系统限制生产效率低下
 

使用Kong后的API架构

1.Kong统一管理通用插件

2.高效,可扩展的分布式架构体系
3.通过简单的命令即可完成扩展
4.团队专注于业务,Kong来处理 REST
原文地址:https://www.cnblogs.com/shown1985/p/6438869.html