3 ms·
Phew! Thank goodness you skimmed it! For a minute there I thought the NGINX developers knew something you didn't.
by peutetre 2y ago
Phew! Thank goodness you skimmed it! For a minute there I thought the NGINX developers knew something you didn't.
- ndriscoll 2y agoI'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.