Patent ID: 8392564

Claim:
A computer-implemented method, comprising: deploying a plurality of uniquely identifiable isolates across a cluster of computers for execution on the computers, wherein each computer includes multiple types of computing resources that are consumable by ones of the isolates executing on the computer; defining a resource domain corresponding to two or more of the computing resources of a given type on two or more of the computers and not corresponding to any other of the computing resources of a different type, wherein the resource domain associates the two or more of the computing resources of the given type with a global resource policy; associating a subset of the plurality of isolates with the resource domain, wherein at least two isolates of the subset are on separate ones of the two or more of the computers; a global resource dispenser receiving a request from one of the subset of isolates to allocate to the isolate for consumption, a portion of one of the two or more computing resources of the given type, wherein the request identifies the one computing resource, and wherein the one computing resource has been defined as a local resource and as part of a global resource; in response to said receiving, the global resource dispenser determining whether fulfilling the request is in accordance with the global resource policy, wherein said determining comprises: determining whether fulfilling the request would result in the subset of isolates being allocated an aggregate amount of the two or more computing resources that is greater than a maximum aggregate amount permitted by the global resource policy; a local resource dispenser on the one of the two or more computers that comprises the one computing resource receiving the request from the one of the subset of isolates to allocate to the isolate for consumption, a portion of the one computing resource; in response to said receiving, the local resource dispenser determining whether fulfilling the request is in accordance with a local resource policy, wherein said determining comprises: determining whether fulfilling the request would result in the one of the subset of isolates being allocated an amount of the one computing resource that is greater than a maximum amount permitted by the local resource policy; in response to determining that fulfilling the request is in accordance with the global resource policy and the local resource policy, fulfilling the request.