2 ms·
I'm basing my statement on what they wrote: > The WebAssembly sandbox’s linear memory is initialized with the HTTP context of the current request and the final
by ndriscoll 2y ago
I'm basing my statement on what they wrote:
> The WebAssembly sandbox’s linear memory is initialized with the HTTP context of the current request and the finalized response is sent back to the router for transmission to the client.
They can feel free to clarify that multiple requests can concurrently use a shared context as well if that's true. Or if that's not true, then the thing will of course be slow assuming it needs to do some kind of IO like a database request.
Note that major FaaS implementations like AWS Lambda don't let you have concurrent requests that share context, so it's not exactly crazy to think this wouldn't either.