Single table multiple thread-safe resource pools
Assigneesalesforce.com, inc.
InventorsKunal SANGHAVI, Vijaysenthil VEERIAH, Varun GUPTA
Life of this patent
Estimating the term…
Abstract
Pooled virtual machine resources are described. A system determines whether a number of virtual machine resources that are in a pool is less than a specified number. The system creates a calculated number of virtual machine resources for the pool if the number of virtual machine resources that are in the pool is less than the specified number, the calculated number being equal to the specified number minus the number of virtual machine resources that are in the pool. The system receives a request to create a virtual machine environment that requires at least one virtual machine resource. The system allocates a virtual machine resource from the pool to the virtual machine environment.
Claims20
An apparatus comprising:
- one or more processors;
- and
- a non-transitory computer readable medium storing a plurality of instructions, which when executed, cause the one or more processors to:
- determine, by a system, whether a number of virtual machine resources that are in a pool is less than a specified number;
- create, by the system, a calculated number of virtual machine resources for the pool in response to a determination that the number of virtual machine resources that are in the pool is less than the specified number, the calculated number being equal to the specified number minus the number of virtual machine resources that are in the pool;
- receive, by the system, a request to create a virtual machine environment that requires at least one virtual machine resource;
- and
- allocate, by the system, a virtual machine resource from the pool to the virtual machine environment.
A computer program product comprising computer-readable program code to be executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code including instructions to:
- determine, by a system, whether a number of virtual machine resources that are in a pool is less than a specified number;
- create, by the system, a calculated number of virtual machine resources for the pool in response to a determination that the number of virtual machine resources that are in the pool is less than the specified number, the calculated number being equal to the specified number minus the number of virtual machine resources that are in the pool;
- receive, by the system, a request to create a virtual machine environment that requires at least one virtual machine resource;
- and
- allocate, by the system, a virtual machine resource from the pool to the virtual machine environment.
A method comprising:
- determining, by a system, whether a number of virtual machine resources that are in a pool is less than a specified number;
- creating, by the system, a calculated number of virtual machine resources for the pool in response to a determination that the number of virtual machine resources that are in the pool is less than the specified number, the calculated number being equal to the specified number minus the number of virtual machine resources that are in the pool;
- receiving, by the system, a request to create a virtual machine environment that requires at least one virtual machine resource;
- and
- allocating, by the system, a virtual machine resource from the pool to the virtual machine environment.
Dependencies are inferred from the claim text.