×

Automatic determination of resource sizing

  • US 9,537,788 B2
  • Filed: 12/05/2014
  • Issued: 01/03/2017
  • 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;

    determining, based on a request to execute a program code associated with a user on a virtual compute system, a user-specified amount of a first computing resource;

    selecting one of the plurality of virtual machine instances to be used for executing the program code, the selected virtual machine instance having the first computing resource having a first maximum amount and a second computing resource having a second maximum amount, the second computing resource being different from the first computing resource;

    determining a first ratio of the user-specified amount to the first maximum amount;

    determining the corresponding amount of the second computing resource based on the determined first ratio and the second maximum amount, wherein a second ratio of the corresponding amount to the second maximum amount is identical to the first ratio;

    selecting a first container having the user-specified amount of the first computing resource and the corresponding amount of the second computing resource for executing the program code;

    causing the program code to be executed in the selected container;

    recording actual amounts of the first and second computing resources used by the program code during the execution of the program code;

    maintaining the user-specified amount in association with the program code associated with the user;

    determining that the user-specified amount is to be overridden by an alternate amount specified in a subsequent request to execute the program code; and

    selecting a second container having the alternate amount of the first or second computing resources for executing the program code.

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