Google API Gateway 和 Cloud Endpoints 的区别

Ale*_*one 16 google-cloud-endpoints google-cloud-platform google-cloud-api-gateway

最近查了一下,Google 发布了一个API Gateway产品,但是我不明白已经创建的Cloud Endpoints之间有什么区别,它们似乎非常相似。

API Gateway新版本Cloud Endpoints吗?。或者有什么不同?

提前致谢!

小智 19

API Gateway 是一项新的 GCP 服务,今天刚刚宣布

可以理解,它是Cloud Endpoints的改进版。API Gateway 可以管理多个后端的 API,包括 Cloud Functions、Cloud Run、App Engine、Compute Engine 和 Google Kubernetes Engine。

引擎盖下的主要区别在于 API 网关不依赖于云运行,从而使实现更加用户友好、快速和干净。

API 网关和云端点这两种产品都支持相同的 Open API 实现。

  • 另一个值得注意的区别是 API Gateway 的测试版尚不支持自定义域。您可以设置自己的负载均衡器以将流量重定向到自定义域,但不像 Cloud Endpoints 那样简单。除了这个怪癖之外,我更喜欢 API Gateway 的简单性。 (2认同)