Adjusting variable limit on concurrent code executions
First Claim
1. A system comprising:
- one or more processors;
one or more memories, the one or more memories having stored thereon instructions, which, when executed by the one or more processors, cause the one or more processors to;
receive a request to execute a program code, the request including an identifier to be used to acquire compute capacity;
identify, using the identifier, a first virtual machine instance manager from a set of virtual machine instance managers configured to acquire compute capacity;
request compute capacity from the first virtual machine instance manager;
determine that the first virtual machine instance manager is unable to or has failed to acquire the requested compute capacity;
cause a second virtual machine instance manager to be added to the set, the second virtual machine instance manager being different from the first virtual machine instance manager;
request compute capacity from the second virtual machine instance manager; and
cause the program code to be executed using the compute capacity acquired by the second virtual machine instance manager.
0 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are described for adjusting a number of concurrent code executions allowed to be performed for a given user on an on-demand code execution environment or other distributed code execution environments. Such environments utilize pre-initialized virtual machine instances to enable execution of user-specified code in a rapid manner, without delays typically caused by initialization of the virtual machine instances. However, to improve utilization of computing resources, such environments may temporarily restrict the number of concurrent code executions performed on behalf of the given user to a number less than the maximum number of concurrent code executions allowed for the given user. Such environments may adjust the temporary restriction on the number of concurrent code executions based on the number of incoming code execution requests associated with the given user.
-
Citations
20 Claims
-
1. A system comprising:
-
one or more processors; one or more memories, the one or more memories having stored thereon instructions, which, when executed by the one or more processors, cause the one or more processors to; receive a request to execute a program code, the request including an identifier to be used to acquire compute capacity; identify, using the identifier, a first virtual machine instance manager from a set of virtual machine instance managers configured to acquire compute capacity; request compute capacity from the first virtual machine instance manager; determine that the first virtual machine instance manager is unable to or has failed to acquire the requested compute capacity; cause a second virtual machine instance manager to be added to the set, the second virtual machine instance manager being different from the first virtual machine instance manager; request compute capacity from the second virtual machine instance manager; and cause the program code to be executed using the compute capacity acquired by the second virtual machine instance manager. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method comprising:
-
receiving a request to execute a program code, the request including an identifier to be used to acquire compute capacity; identifying, using the identifier, a first virtual machine instance manager from a set of virtual machine instance managers configured to acquire compute capacity; requesting compute capacity from the first virtual machine instance manager; determining that the first virtual machine instance manager is unable to or has failed to acquire the requested compute capacity; adding a second virtual machine instance manager to the set, the second virtual machine instance manager being different from the first virtual machine instance manager; requesting compute capacity from the second virtual machine instance manager; and executing the program code using the compute capacity acquired by the second virtual machine instance manager. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. Non-transitory physical computer storage including computer-executable instructions that, when executed by a computing system, cause the computing system to:
-
receive a request to execute a program code, the request including an identifier to be used to acquire compute capacity; identify, using the identifier, a first virtual machine instance manager from a set of virtual machine instance managers configured to acquire compute capacity; request compute capacity from the first virtual machine instance manager; determine that the first virtual machine instance manager is unable to or has failed to acquire the requested compute capacity; cause a second virtual machine instance manager to be added to the set, the second virtual machine instance manager being different from the first virtual machine instance manager; request compute capacity from the second virtual machine instance manager; and cause the program code to be executed using the compute capacity acquired by the second virtual machine instance manager. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification