Patent ID: 11875173
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method comprising:
receiving a request to execute user-submitted code on an on-demand code execution system;
obtaining configuration information associated with the user-submitted code, the configuration information specifying at least a main virtualized execution environment configured to execute the user-submitted code and an auxiliary function from a library of auxiliary functions provided by the on-demand code execution system, wherein the auxiliary function is expected to be required during execution of the user-submitted code, and wherein the auxiliary function does not comprise user-submitted code;
identifying, based at least in part on the auxiliary function expected to be required during execution of the user-submitted code, a sidecar virtualized execution environment from a library of sidecar virtualized execution environments;
configuring the sidecar virtualized execution environment to perform the auxiliary function for the main virtualized execution environment;
causing the main virtualized execution environment to execute the user-submitted code in accordance with the configuration information;
causing the sidecar virtualized execution environment to perform the auxiliary function in accordance with the configuration information;
determining that the main virtualized execution environment has completed execution of the user-submitted code; and
responsive to determining that the main virtualized execution environment has completed execution of the user-submitted code, deprovisioning the main virtualized execution environment and the sidecar virtualized execution environment.