RESOURCE AFFINITY IN A DYNAMIC RESOURCE POOL
First Claim
Patent Images
1. A method of facilitating resource affinity in a dynamic resource pool, the method comprising:
- mapping a request to an associated resource of a dynamic number of resources by calculating a modulus on a request identifier with at least a first number in a predefined list of numbers to generate a resource identifier identifying the associated resource.
3 Assignments
0 Petitions
Accused Products
Abstract
Techniques disclosed herein describe methods for achieving resource affinity and scalability in dynamic environments by calculating the modulus of a numeric request identifier against a fixed selection of numbers. Using the proposed techniques yields a numeric request identifier and resource identifier combination that ensures a given resource possesses the unique state applicable to that user'"'"'s request. Using a fixed selection of numbers thus maintains resource affinity while achieving scalability as resources are added to or subtracted from a pool of resources.
29 Citations
20 Claims
-
1. A method of facilitating resource affinity in a dynamic resource pool, the method comprising:
mapping a request to an associated resource of a dynamic number of resources by calculating a modulus on a request identifier with at least a first number in a predefined list of numbers to generate a resource identifier identifying the associated resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. An apparatus comprising:
-
one or more computer readable storage media; a predefined list of numbers stored on at least one of the one or more computer readable storage media; and program instructions stored on at least one of the one or more computer readable media that, when executed by a processing system, direct the processing system to; map a request to an associated resource of a dynamic number of resources by calculating a modulus on a request identifier with at least a first number in the predefined list of numbers to generate a resource identifier identifying the associated resource. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A resource locator comprising:
-
one or more computer readable storage media; a predefined list of numbers stored on at least one of the one or more computer readable storage media, the predefined list of numbers comprising a plurality of prime numbers; and program instructions stored on at least one of the one or more computer readable storage media that, when executed by a processing system, direct the processing system to; map requests to associated resources of a dynamic number of resources, wherein for each request, the program instructions direct the processing system to; obtain a numeric identifier (x) from the request; retrieve at least a first number (n) in the predefined list of numbers; calculate x mod n to generate a resource identifier; determine whether the resource identifier identifies an available associated resource or an unavailable associated resource; and in response to a determination that the resource identifier identifies the available associated resource, communicate the request to the available associated resource; in response to a determination that the resource identifier identifies the unavailable associated resource, traverse the predefined list of numbers to retrieve a next number (m), calculate x mod m, and determine whether a resulting resource identifier identifies the available associated resource or the unavailable associated resource until the resource identifier identifies the available associated resource. - View Dependent Claims (19, 20)
-
Specification