Google App Engine和Google Cloud Run有什么区别? [英] What is the difference between Google App Engine and Google Cloud Run?

查看:216
本文介绍了Google App Engine和Google Cloud Run有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道Google App Engine Flex和Google Cloud Run之间的区别吗?

Does anyone know, difference between Google App Engine Flex and Google Cloud Run?

谢谢

推荐答案

Cloud Run文档还不是非常有用,但是新视频

The Cloud Run documentation is not yet very informative but the new video Where Should I Run My Code? Choosing From 5+ Compute Options (Cloud Next '19) compares Cloud Run with App Engine and also Cloud Functions, Google Kubernetes Engine, and Google Compute Engine.

  • 您可以选择将Cloud Run应用程序部署在完全托管的基础架构(无服务器",按使用付费,根据流量自动快速扩展至0)或Google Kubernetes Engine集群上. App Engine始终通过自动缩放进行全面管理. App Engine Flex会自动缩放并缩小到1.App Engine第二代会自动缩放并缩小到0.
  • Cloud Run要求您的应用程序在容器中运行. App Engine Flex可以在任何语言运行时中运行您的容器.第二代App Engine提供了一些语言运行时.
  • Cloud Run服务现在可以响应HTTPS请求(不必来自Web浏览器),gRPC请求,Pub/Sub触发器或计划的触发器.可以将其配置为允许最多15分钟的时间来处理请求. App Engine运行HTTP Web应用程序.对于App Engine Classic,Standard和Flex,它具有不同的请求超时,并且在自动缩放,基本缩放和手动缩放方面有所不同.
  • Cloud Run专为包括软件开发人员和运维专家在内的团队而设计. App Engine是为开发人员设计的.
  • Cloud Run普遍可用(截至2019年11月14日). App Engine经过了多年的测试,每天可以处理数十亿个请求.

在开始之前研究Cloud Run的局限性.例如.有效负载容器最多可以配置2GB RAM(GKE群集可以配置更多),而没有磁盘空间(仅RAM磁盘).请参见《云运行指南》 和其他云运行文档.

Investigate Cloud Run's limitations before getting started. E.g. the payload container can be configured with up to 2GB RAM (more with a GKE cluster) with no disk space (only RAM disk). See the Cloud Run How-To Guides and the rest of the Cloud Run Documentation.

另请参见 App Engine文档.

这篇关于Google App Engine和Google Cloud Run有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆