[英]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.