Measuring resource consumption in a multi-tenant platform-as-a-service (PAAS) system
First Claim
1. A method, comprising:
- determining, by a processing device, that a resource of an application of a cloud provider system is initializing;
determining whether each operation in a list of initialization operations used in the initialization of the resources is performed successfully, prior to a create usage record operation in the list of initialization operations;
in response to determining that each of the initialization operations prior to the create usage record operation in the list of initialization operations is performed successfully, creating, by the processing device, a usage record for the resource using the create usage record operation based on a threshold usage level associated with the application; and
in response to determining that at least one of the initialization operations prior to the create usage record operation in the list of initialization operations has failed, performing, by the processing device, a roll-back operation or a re-try operation for the at least one of the initialization operations that has failed.
1 Assignment
0 Petitions
Accused Products
Abstract
Implementations for measuring resource consumption in a cloud provider system are disclosed. A method of the disclosure includes determining that a resource of an application of a cloud provider system is initializing, determining whether each operation in a list of initialization operations used in the initialization of the resources is performed successfully, prior to a create usage record operation in the list of initialization operations, in response to determining that each of the initialization operations prior to the create usage record operation in the list of initialization operations is performed successfully, creating a usage record for the resource using the create usage record operation based on a threshold usage level associated with the application, and in response to determining that at least one of the initialization operations prior to the create usage record operation in the list of initialization operations has failed, performing a roll-back operation or a re-try operation for the at least one of the initialization operations that has failed.
-
Citations
20 Claims
-
1. A method, comprising:
-
determining, by a processing device, that a resource of an application of a cloud provider system is initializing; determining whether each operation in a list of initialization operations used in the initialization of the resources is performed successfully, prior to a create usage record operation in the list of initialization operations; in response to determining that each of the initialization operations prior to the create usage record operation in the list of initialization operations is performed successfully, creating, by the processing device, a usage record for the resource using the create usage record operation based on a threshold usage level associated with the application; and in response to determining that at least one of the initialization operations prior to the create usage record operation in the list of initialization operations has failed, performing, by the processing device, a roll-back operation or a re-try operation for the at least one of the initialization operations that has failed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method, comprising:
-
determining, by a processing device, that a resource of an application of a multitenant Platform-as-a-Service (PaaS) system is initializing, the resource marked for usage tracking, wherein usage of the resource is tracked in view of a cost rate determined based on a state of the application; determining whether each operation in a list of initialization operations is initialized successfully, prior to a create usage record operation in the list of initialization operations; creating, by the processing device, a usage record for the resource using the create usage record operation in response to determining that each of the initialization operations prior to the create usage record operation in the list of initialization operations has performed successfully; and responsive to determining that at least one of the initialization operations prior to the create usage record operation in the list of initialization operations has failed, perform, by the processing device, a roll-back operation or a re-try operation for the failed initialization operation. - View Dependent Claims (16, 17)
-
-
18. A non-transitory machine-readable storage medium including data that, when accessed by a processing device, cause the processing device to:
-
determine, by the processing device, that a resource of an application of a multi tenant Platform-as-a-Service (PaaS) system is initializing, the resource marked for usage tracking; determine whether each operation in a list of initialization operations is performed successfully, prior to a create usage record operation in the list of initialization operations; in response to determining that each of the initialization operations prior to the create usage record operation in the list of initialization operations has performed successfully; create, by the processing device, a usage record for the resource using the create usage record operation, and synchronize a created usage record with a billing provider; and responsive to determining that at least one of the initialization operations prior to the create usage record operation in the list of initialization operations has failed, perform a roll-back operation or a re-try operation for the failed initialization operation. - View Dependent Claims (19, 20)
-
Specification