Google App Engine和Google Cloud Run有什么区别?

问题描述 投票:4回答:2

有谁知道,Google App Engine Flex和Google Cloud Run之间存在差异?

谢谢

google-app-engine google-cloud-run
2个回答
4
投票

Cloud Run文档还不是很有用,但新视频Where Should I Run My Code? Choosing From 5+ Compute Options (Cloud Next '19)将Cloud Run与App Engine以及Cloud Functions,Google Kubernetes Engine和Google Compute Engine进行了比较。

  • 您可以选择在完全托管的基础架构上部署Cloud Run应用程序(“无服务器”,按使用付费,自动扩展)或在Google Kubernetes Engine集群上部署。 App Engine始终完全托管,具有自动缩放功能。 App Engine Flex逐渐自动缩放至1. App Engine Second Generation自动快速向上扩展至0。
  • Cloud Run要求您的应用程序在容器中运行。 App Engine Flex为任何语言运行时运行容器。 App Engine Second Generation提供了一些语言运行时。
  • Cloud Run运行“HTTP请求/响应”工作负载,不一定适用于Web浏览器请求。允许处理请求需要很长时间。 App Engine运行HTTP Web应用程序。它有适度的请求超时; App Engine Classic,Standard和Flex的不同超时。
  • Cloud Run专为包含软件开发人员和操作专家的团队而设计。 App Engine专为开发人员设计。
  • Cloud Run是测试版软件。 App Engine经过战斗测试,每天提供数十亿的请求。

0
投票

Google云运行利用docker容器内的无状态应用程序。该服务可以自动扩展和缩小,并在不使用时扩展为0。据我所知,app engine flex无法扩展到0,通常不被视为无状态架构。

© www.soinside.com 2019 - 2024. All rights reserved.