Skip to content

Avoid multiple compilations for a single function in Worker #210

@mattrent

Description

@mattrent

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions