×

Automatic management of resource sizing

  • US 9,413,626 B2
  • Filed: 12/05/2014
  • Issued: 08/09/2016
  • Est. Priority Date: 12/05/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method comprising:

  • as implemented by one or more computing devices configured with specific executable instructions,maintaining a plurality of virtual machine instances on one or more physical computing devices;

    receiving a plurality of requests to execute a program code associated with a user on a virtual compute system, the request including information indicating the program code, the user associated with the program code, and a first amount of a computing resource available on the virtual compute system to be used to execute the program code;

    selecting a virtual machine instance from the plurality of virtual machine instances to be used to execute the program code, the selected virtual machine instance having at least the first amount of the computing resource indicated in the plurality of requests;

    creating one or more containers in the selected virtual machine instance, the one or more containers each having the first amount of the computing resource indicated in the plurality of requests;

    causing the program code associated with the user to be loaded onto the one or more containers and executed in the one or more containers;

    monitoring a usage of the computing resource by the program code during the executions of the program code in the one or more containers created in the selected virtual machine instance;

    determining, based on the usage of the computing resource by the program code, that the first amount indicated in the plurality of requests has satisfied a resource adjustment condition for a threshold number of the executions in the one or more containers;

    in response to receiving additional requests including information indicating the program code, the user associated with the program code, and the first amount of the computing resource to be used to execute the program code, creating one or more additional containers in the selected virtual machine instance such that the one or more additional containers each have a second amount of the computing resource that is different from the first amount indicated in the additional requests; and

    causing the program code to be executed in the one or more additional containers having the second amount of the computing resource.

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