Patent ID: 9705686
Date: 2017-07-11
CPC Classifications: H04L

Claim:
1. A method, comprising: determining, by a 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; accessing a list of initialization operations used in the initialization of the resource; performing initialization operations from the list until reaching a create usage record operation in the list; determining that each of the initialization operations prior to a 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 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.