libai8723 / front-end-dev-notes-bignerdbook

Github Pages
https://libai8723.github.io/front-end-dev-notes-bignerdbook/
1 stars 0 forks source link

关于API Gateway的一些知识阅读 #40

Open libai8723 opened 2 years ago

libai8723 commented 2 years ago

最近在面试的时候,经常会遇到一些面试人提到自己构建了一套API Gateway的平台。

但是我这边自己其实一直没有理解,为什么要有API Gateway,所以开一个帖子来专门记录一下API Gateway相关的信息,看看这个东西的定位是什么,起到什么作用,具体的实现和方案。所以这时候找一些文档看看吧,然后再找一些API Gateway的解决方案和具体实现来玩一玩,确保自己对于API Gateway有一个深入的理解。

然后每一层开一个todo的帖子吧,因为这样点起来有点爽啊:

libai8723 commented 2 years ago

首先是Nginx网站一篇关于API Gateway的文章,Nginx是一套非常优秀的产品,能实现很多东西,包含API Gateway 所以看看这种优秀的厂家的实践的帖子,应该是没错的

https://www.nginx.com/learn/api-gateway/

libai8723 commented 2 years ago

第二篇类似一个比较好的科普网站,之前看SAP的很多资料的时候,都有用到这个网站

https://whatis.techtarget.com/definition/API-gateway-application-programming-interface-gateway

libai8723 commented 2 years ago

红帽的一篇文章,从宣传来看也有对应的产品

https://www.redhat.com/en/topics/api/what-does-an-api-gateway-do

libai8723 commented 2 years ago
的作者,Chris大神的讲解,为什么要有API Gateway,值得复习一下这本书和对应的文章了 https://microservices.io/patterns/apigateway.html
libai8723 commented 2 years ago

当然AWS有对应的API Gateway服务,按照站点的说法,这是一个Managed Service https://aws.amazon.com/cn/api-gateway/

libai8723 commented 2 years ago

当然不可或缺的 google cloud也有自己的api gateway产品 https://cloud.google.com/api-gateway/docs

libai8723 commented 2 years ago

当然微软的dev center的文章一直都是非常高质量的

https://docs.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/direct-client-to-microservice-communication-versus-the-api-gateway-pattern

然后是azure的api management的产品: https://azure.microsoft.com/en-us/services/api-management/#security

以及产品推荐去阅读的一些资料: https://azure.microsoft.com/en-us/services/api-management/#overview

https://azure.microsoft.com/mediahandler/files/resourcefiles/apis-microservices-ebook/Azure_API-Microservices_eBook.pdf

https://azure.microsoft.com/mediahandler/files/resourcefiles/api-design/Azure_API-Design_Guide_eBook.pdf

以及一篇IDC关于iPaaS演进的评测,都可以看一下

libai8723 commented 2 years ago

spring的体系中,之前有用到zuul这个网关,也有最近提到的spring cloud gateway,可以看一看: https://zhuanlan.zhihu.com/p/299068076 https://github.com/Netflix/zuul

也贴几篇Netflix的文章吧: https://netflixtechblog.com/embracing-the-differences-inside-the-netflix-api-redesign-15fd8b3dc49d https://netflixtechblog.com/zuul-2-the-netflix-journey-to-asynchronous-non-blocking-systems-45947377fb5c https://netflixtechblog.com/practical-api-design-at-netflix-part-1-using-protobuf-fieldmask-35cfdc606518 https://netflixtechblog.com/open-sourcing-zuul-2-82ea476cb2b3

libai8723 commented 2 years ago

刚想说看一下API相关的书,书就来了

  1. https://salttiger.com/continuous-api-management-2nd-edition/
  2. https://salttiger.com/api-design-patterns/
  3. https://salttiger.com/principles-of-web-api-design/