Google Cloud Run为什么不需要像AWS Lambda一样需要运行时?

huangapple go评论54阅读模式
英文:

Why doesn't Google Cloud Run require runtimes as AWS Lambda does?

问题

AWS Lambda需要特定的RUNTIME,用作托管容器应用程序和Lambda服务之间的代理。为什么Google Cloud Run不需要这样的运行时?这样做的优缺点和技术影响是什么?

英文:

AWS Lambda requires a specific RUNTIME to act as a broker between the hosted container apps and the Lambda service. Why doesn't Google Cloud Run require such a runtime? What are the pros/cons and technological implications of that?

答案1

得分: 3

他们是两种不同的产品。Lambda 类似于 Cloud Functions,您需要指定运行时。

另一方面,Cloud Run 更类似于 ECS Fargate。它运行容器,因此从某种意义上说,您的运行时将是您的容器运行的内容,无论是 Python 还是 NodeJS 等。

英文:

They're two different products. Lambda would be similar to Cloud Functions, and you would need to specify a runtime.

Cloud Run, on the other hand, is more like ECS Fargate. It runs containers, so in a sense your runtime would be whatever your container is running whether it be Python or NodeJS, etc.

huangapple
  • 本文由 发表于 2023年5月22日 01:57:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/76301228.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定