Processing event messages for user requests to execute program code
First Claim
1. A system for processing event messages to cause execution of program codes on one or more virtual machine instances, the system comprising:
- a front end computing system comprising one or more hardware computing devices executing specific computer-executable instructions, said front end computing system in communication with (i) a message queue system configured to store event messages and (ii) a virtual compute system configured to execute program codes, the front end computing system configured to at least;
retrieve, from the message queue system, a first event message including event data relating to a first triggering event;
identify, based on the event data included in the first event message, (i) a first program code to be executed by the virtual compute system and (ii) one or more input parameters to the first program code; and
cause the virtual compute system to execute the first program code using the one or more input parameters.
0 Assignments
0 Petitions
Accused Products
Abstract
A service manages a plurality of virtual machine instances for low latency execution of user codes. The service can provide the capability to execute user code in response to events triggered on an auxillary service to provide implicit and automatic rate matching and scaling between events being triggered on the auxiliary service and the corresponding execution of user code on various virtual machine instances. An auxiliary service may be configured as an event triggering service to detect events and generate event messages for execution of the user codes. The service can request, receive, or poll for event messages directly from the auxiliary service or via an intermediary message service. Event messages can be rapidly converted to requests to execute user code on the service. The time from processing the event message to initiating a request to begin code execution is less than a predetermined duration, for example, 100 ms.
389 Citations
20 Claims
-
1. A system for processing event messages to cause execution of program codes on one or more virtual machine instances, the system comprising:
a front end computing system comprising one or more hardware computing devices executing specific computer-executable instructions, said front end computing system in communication with (i) a message queue system configured to store event messages and (ii) a virtual compute system configured to execute program codes, the front end computing system configured to at least; retrieve, from the message queue system, a first event message including event data relating to a first triggering event; identify, based on the event data included in the first event message, (i) a first program code to be executed by the virtual compute system and (ii) one or more input parameters to the first program code; and cause the virtual compute system to execute the first program code using the one or more input parameters. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A computer-implemented method for executing program codes in response to triggering events comprising:
as implemented by one or more computing devices configured with specific executable instructions, receiving an event message including event data relating to a first triggering event; identifying, based on the event data included in the event message, (i) a first program code to be executed by a virtual compute system configured to execute program codes on one or more virtual machine instances and (ii) one or more input parameters to the first program code, the first program code configured to be executed in response to an occurrence of the first triggering event; identifying a virtual machine instance to be used to execute the first program code; and executing the first program code on the virtual machine instance using the one or more input parameters. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16)
-
17. Non-transitory physical computer storage comprising computer executable instructions that, when executed by one or more hardware processors, configure the one or more hardware processors to:
-
access an event message including event data relating to a triggering event; identify, based on the event data included in the event message, (i) a first program code to be executed by a virtual compute system configured to execute program codes on one or more virtual machine instances and (ii) one or more input parameters to the first program code; identify a virtual machine instance on which to execute the first program code; and cause the first program code to be executed on the virtual machine instance using the one or more input parameters. - View Dependent Claims (18, 19, 20)
-
Specification