Currently, functions are compiled when they are first invoked (in the Worker component).
If multiple "first" invocation requests arrive while a function is compiled, the compilation process is repeated.
We should use the same strategy as RawResourceStorage to have parallel requests wait on the same compilation process, to avoid unnecessary overhead.
Currently, functions are compiled when they are first invoked (in the Worker component).
If multiple "first" invocation requests arrive while a function is compiled, the compilation process is repeated.
We should use the same strategy as
RawResourceStorageto have parallel requests wait on the same compilation process, to avoid unnecessary overhead.