×

Automatic determination of resource sizing

  • US 10,353,746 B2
  • Filed: 12/30/2016
  • Issued: 07/16/2019
  • Est. Priority Date: 12/05/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • determining, based on a request to execute a program code of a user, a user-specified amount of a first computing resource to be used to execute the program code;

    obtaining a virtual machine instance to be used to execute the program code, the virtual machine instance associated with a first maximum amount of the first computing resource and a second maximum amount of a second computing resource, the second computing resource being different from the first computing resource;

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

    computing a corresponding amount of the second computing resource based on (i) the first ratio of the user-specified amount of the first computing resource to the first maximum amount of the first computing resource and (ii) the second maximum amount of the second computing resource associated with the virtual machine instance; and

    executing the program code in a container created in the virtual machine instance, the container having at least the user-specified amount of the first computing resource and the computed corresponding amount of the second computing resource.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×