'Firebase Functions v2: Can an instance spun up for functionX can receive traffic for functionY?
Firebase function v2 is here. Now as per the docs:
Function instances can now execute more than one request at a time. This feature is available for functions with one dedicated CPU or higher. Concurrency levels can be set on a per-function basis or across all functions with the setGlobalOptions method. If unspecified, new functions with 1 dedicated CPU or higher will default to 80 concurrent requests. See Allow concurrent requests.
Now my doubt is if a Function instance spun up for handling functionX will also receive traffic for functionY? OR, this means functionX instance will receive concurrent traffic only for just functionX?
Solution 1:[1]
So you are using the same domain for both frontend and backend?
I think the easiest way you can do is use an internal ALB for the backend and use that ALB domain for redirecting. The new ALB will only allow traffic from frontend.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ash Blake |
