Message-based computation request scheduling
First Claim
Patent Images
1. A computer-implemented method comprising:
- as implemented by one or more computing devices configured with specific executable instructions,receiving a request to execute a first program code on a virtual compute system, the request including a first identifier identifying the first program code requested to be executed on the virtual compute system, wherein the virtual compute system comprises at least a first fleet of virtual machine instances configured to process low volume requests and a second fleet of virtual machine instances configured to process high volume requests;
accessing, based on the first identifier included in the request, first program code data associated with the first program code from an electronic data store, wherein the first program code data indicates first execution frequency of the first program code, wherein the electronic data store is configured to store at least program code data associated with a plurality of program codes, the program code data indicating frequency of execution of the plurality of program codes on the virtual compute system; and
based on the first execution frequency indicated by the first program code data, routing the request to the first fleet of virtual machine instances configured to process low volume requests.
2 Assignments
0 Petitions
Accused Products
Abstract
A system for routing requests to execute user code based on how frequently the user code is executed is provided. The system may be configured to receive a request to execute user code on a virtual compute system, where the virtual compute system comprises multiple fleets of virtual machine instances. The system may be further configured to determine whether the user code associated with the request satisfies one or more usage criteria, and based on the determination, route the request to the appropriate fleet of virtual machine instances.
375 Citations
20 Claims
-
1. A computer-implemented method comprising:
as implemented by one or more computing devices configured with specific executable instructions, receiving a request to execute a first program code on a virtual compute system, the request including a first identifier identifying the first program code requested to be executed on the virtual compute system, wherein the virtual compute system comprises at least a first fleet of virtual machine instances configured to process low volume requests and a second fleet of virtual machine instances configured to process high volume requests; accessing, based on the first identifier included in the request, first program code data associated with the first program code from an electronic data store, wherein the first program code data indicates first execution frequency of the first program code, wherein the electronic data store is configured to store at least program code data associated with a plurality of program codes, the program code data indicating frequency of execution of the plurality of program codes on the virtual compute system; and based on the first execution frequency indicated by the first program code data, routing the request to the first fleet of virtual machine instances configured to process low volume requests. - View Dependent Claims (2, 3, 4, 5)
-
6. A system for providing low-latency computational capacity from a virtual compute fleet, the system comprising:
-
an electronic data store configured to store at least usage data associated with one or more program codes executed on the virtual compute fleet, wherein the virtual compute fleet comprises a low volume fleet of virtual machine instances configured to process low volume requests and a high volume fleet of virtual machine instances configured to process high volume requests, wherein the low volume fleet contains a group of worker managers, each worker manager configured to manage one or more virtual machine instances of the low volume fleet and has one or more hash values associated therewith; and one or more hardware computing devices executing a frontend service through specific computer-executable instructions, said frontend service in communication with the electronic data store, and configured to at least; receive a request to execute a first program code on the virtual compute fleet; access, from the electronic data store, program code data associated with the first program code to be executed, wherein the program code data is indicative of a first frequency at which the first program code has been executed on the virtual compute fleet; determine that the first frequency at which the first program code has been executed on the virtual compute fleet does not exceed a threshold frequency; calculate a specific hash value based on at least a portion of information included in the request; determine a first worker manager of the group of worker managers of the low volume fleet corresponding to the calculated specific hash value; and route the request to the first worker manager corresponding to the calculated specific hash value. - View Dependent Claims (7, 8)
-
-
9. A system, comprising:
-
an electronic data store configured to store at least program code data associated with a plurality of program codes, the program code data indicating frequency of execution of the plurality of program codes on a virtual compute system, wherein the virtual compute system comprises at least a first fleet of virtual machine instances configured to process low volume requests and a second fleet of virtual machine instances configured to process high volume requests; and a frontend service comprising one or more hardware computing devices executing specific computer-executable instructions that, when executed, causes the one or more hardware computing devices to at least; receive a request to execute a first program code on a virtual compute system, the request including a first identifier identifying the first program code requested to be executed on the virtual compute system; access, based on the first identifier included in the request, first program code data associated with the first program code from the electronic data store, wherein the first program code data indicates first execution frequency of the first program code; and based on the first execution frequency indicated by the first program code data, route the request to the first fleet of virtual machine instances configured to process low volume requests. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A computer-readable, non-transitory storage medium storing computer executable instructions that, when executed by one or more computing devices, configure the one or more computing devices to perform operations comprising:
-
receiving a request to execute a first program code on a virtual compute system, the request including a first identifier identifying the first program code requested to be executed on the virtual compute system, wherein the virtual compute system comprises at least a first fleet of virtual machine instances configured to process low volume requests and a second fleet of virtual machine instances configured to process high volume requests; accessing, based on the first identifier included in the request, first program code data associated with the first program code from an electronic data store, wherein the first program code data indicates first execution frequency of the first program code, wherein the electronic data store is configured to store at least program code data associated with a plurality of program codes, the program code data indicating frequency of execution of the plurality of program codes on the virtual compute system; and based on the first execution frequency indicated by the first program code data, routing the request to the first fleet of virtual machine instances configured to process low volume requests. - View Dependent Claims (17, 18, 19, 20)
-
Specification