4 ms·
You cannot do that. Each deployed function corresponds to exactly one entry point in code. You can however pipe multiple HTTP endpoints through the same entry f
by throwaway2016a 10y ago
You cannot do that. Each deployed function corresponds to exactly one entry point in code. You can however pipe multiple HTTP endpoints through the same entry function like a router.
So let's say you do that.
If two clients request the same function at the same time it will run the function in two different containers. One for each client. They are isolated (think multiple instances of Node running in multiple Docker containers). They might as well be on different machines entirely.
The platform will not reuse the same container unless the previous request to that container has finished.