| CPC G06F 16/2343 (2019.01) [G06F 16/27 (2019.01)] | 20 Claims |

|
1. A computer-implemented method comprising:
maintaining, at an endpoint in persistent storage, a first snapshot of state information for a plurality of resource entities within a distributed cloud service, wherein the first snapshot of the state information represents resources allocated to the plurality of resource entities;
receiving a request specifying a modification of resources allocated to one or more resource entities;
obtaining a virtual lock on the first snapshot;
upon obtaining the virtual lock, determining, based on the first snapshot of the state information for the plurality of resource entities, that there are available resources to perform the specified modification;
generating and storing, at the endpoint in the persistent storage, a second snapshot of the state information for the plurality of resource entities, wherein the second snapshot reflects an intended state of the plurality of resources based on the specified modification;
releasing the virtual lock on the first snapshot; and
performing the specified modification of resources allocated to the one or more resource entities to effect the intended state of the plurality of resources reflected by the second snapshot;
wherein the method is performed by one or more computing devices.
|