Cloud function, 2nd gen concurrency?

Viewed 398

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

so is it kinda downgrade??

1 Answers

Gen 1 functions can only handle 1 concurrent request at a time per instance. 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.

Related