简体   繁体   English

云 function,第二代并发?

[英]Cloud function, 2nd gen concurrency?

They saying 2nd gen is他们说二代是

Concurrency: Process up to 1000 concurrent requests with a single function instance, 
minimizing cold starts and improving latency when scaling.

but as far as I know..但据我所知..

pre ver Cloud function`s maximum concurrent invocation of a single instance is 3000之前的云函数单实例最大并发调用数为3000

so is it kinda downgrade??所以它有点降级?

Gen 1 functions can only handle 1 concurrent request at a time per instance. Gen 1 函数每个实例一次只能处理1 个并发请求 This means that while your code is processing one request, there is no possibility of a second request being routed to the same instance.这意味着当您的代码正在处理一个请求时,不可能将第二个请求路由到同一实例。

Gen 2 functions on the other hand can handle up to 1000 concurrent requests per function instance .另一方面,第 2 代函数每个 function 实例最多可以处理 1000 个并发请求。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将谷歌云 function 2nd gen 连接到另一个项目的 mysql - Connect google cloud function 2nd gen to mysql of another project 对于需要服务帐户身份验证的 GCP 云 function 第二代,在 IAMCredentialsClient 中使用的正确 scope 是什么? - What is the proper scope to use in IAMCredentialsClient for a GCP cloud function 2nd gen that requires authentication from a service account? 使用 gcloud 命令部署事件弧触发第二代云 function 时如何指定 pubsub 主题 - How to specify pubsub topic when deploying event arc triggered 2nd gen cloud function using gcloud command Github 第二代 Google Functions 的操作 - Github Actions to Google Functions 2nd gen 如何部署 Google Cloud Function(第 2 代)? - How do I deploy a Google Cloud Function (2nd generation)? Google Cloud Function (2nd) + Python Selenium - Chrome 无法启动:异常退出 - Google Cloud Function (2nd) + Python Selenium - Chrome failed to start: exited abnormally 谷歌云 Function Gen 1 部署失败 - Google Cloud Function Gen 1 Deployment Failure 带有 Firebase 数据库触发器的第二代 Google Cloud Functions - Google Cloud Functions 2nd Generation with Firebase Database trigger firebase 路由上 golang 中的 google cloud function gen2 的身份验证问题 - Authentication problem with google cloud function gen2 in golang on firebase routing 云 Function 部署 gen2 - function 已经存在错误? - Cloud Function deploy gen2 - function already exist error?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM