×

Security protocols for low latency execution of program code

  • US 9,733,967 B2
  • Filed: 02/04/2015
  • Issued: 08/15/2017
  • Est. Priority Date: 02/04/2015
  • Status: Active Grant
First Claim
Patent Images

1. 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 a program code of a user; and

    a virtual compute system comprising one or more hardware computing devices configured to execute specific computer-executable instructions, the virtual compute system in communication with the electronic data store and configured to at least;

    maintain a plurality of virtual machine instances on one or more physical computing devices, wherein the plurality of virtual machine instances comprises a warming pool comprising virtual machine instances to be assigned to a user and having one or more software components loaded thereon and an active pool comprising virtual machine instances currently assigned to one or more users;

    receive a request to execute a program code associated with a first user on the virtual compute system, the request indicating the program code associated with the first user, one or more trusted credentials usable to interface with a logging service associated with the first user, and a network address associated with the logging service;

    determine whether the active pool contains a preconfigured virtual machine instance that is assigned to the first user and configured to interface with the logging service;

    in response to determining that the active pool contains a preconfigured virtual machine instance that is assigned to the first user and configured to interface with the logging service, select the preconfigured virtual machine instance to be used to execute the program code;

    in response to determining that the active pool does not contain a preconfigured virtual machine instance that is assigned to the first user and configured to interface with the logging service;

    select an available virtual machine instance from the warming pool to be used for executing the program code; and

    configure the available virtual machine instance to enable the program code to interface with the logging service during execution of the program code;

    acquire a container in the selected virtual machine instance and assign the container to process the request to execute the program code on the virtual compute system; and

    cause the program code associated with the first user to be loaded from the electronic data store onto the container and executed in the container, wherein the virtual compute system is configured to cause, during the execution of the program code in the container, the program code to establish a network connection to the logging service associated with the first user using the one or more trusted credentials and the network address indicated by the request and provide data relating to the execution of the program code on the selected virtual machine instance to the logging service over the network connection.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×