Dynamic redistribution of a distributed memory index when individual nodes have different lookup indexes
First Claim
1. A method of redistributing responsibilities for resources in a multiple-node system, the method comprising the steps of:
- each node of a plurality of nodes determining a window-resource mapping between resources mastered by said each node and a plurality of windows, each window of the plurality of windows corresponding to a separate set of resources for which responsibility is to be redistributed;
a first node using a first resource index to locate resource information related to the resources mastered by the first node;
wherein the first node is a particular node of the plurality of nodes;
a second node of the plurality of nodes using a second resource index to locate resource information related to resources mastered by the second node;
reassigning from the first node to the second node responsibility for only a first set of resources, wherein the first set of resources correspond to a first window of said plurality of windows and are the responsibility of said first node;
for each window of said plurality of windows that is not the first window, reassigning to a node of the multi-node system responsibility for only a set of resources corresponding to said each window, wherein the corresponding set of resources are the responsibility of said first node;
wherein the window-resource mapping is based on;
(a) a different type of index access structure than that used for the first resource index, or(b) a window hash function, wherein;
the window hash function maps a resource to one of a number of windows of said plurality of windows;
the first resource index is a first hash index that uses a first hash function, andthe first hash function maps a resource to a first number of buckets,wherein the number of windows is not a multiple or a factor of the first number of buckets.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for performing window-by-window remastering are described, in which the mechanism used by nodes to determine the resource-to-window mapping is separated from the mechanism used by the nodes to access resource information. For example, all nodes of a multiple-node system may use the same hash function to determine which resources are involved in a remastering window. However, the resource indexes employed by the nodes to access resource information need not use that same hash function. For example, in nodes where the resource indexes are hash indexes, different nodes may use different hash functions. Further, some or all of the nodes may use mechanisms other than hash indexes to access the resource information.
54 Citations
24 Claims
-
1. A method of redistributing responsibilities for resources in a multiple-node system, the method comprising the steps of:
-
each node of a plurality of nodes determining a window-resource mapping between resources mastered by said each node and a plurality of windows, each window of the plurality of windows corresponding to a separate set of resources for which responsibility is to be redistributed; a first node using a first resource index to locate resource information related to the resources mastered by the first node; wherein the first node is a particular node of the plurality of nodes; a second node of the plurality of nodes using a second resource index to locate resource information related to resources mastered by the second node; reassigning from the first node to the second node responsibility for only a first set of resources, wherein the first set of resources correspond to a first window of said plurality of windows and are the responsibility of said first node; for each window of said plurality of windows that is not the first window, reassigning to a node of the multi-node system responsibility for only a set of resources corresponding to said each window, wherein the corresponding set of resources are the responsibility of said first node; wherein the window-resource mapping is based on; (a) a different type of index access structure than that used for the first resource index, or (b) a window hash function, wherein; the window hash function maps a resource to one of a number of windows of said plurality of windows; the first resource index is a first hash index that uses a first hash function, and the first hash function maps a resource to a first number of buckets, wherein the number of windows is not a multiple or a factor of the first number of buckets. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
-
each node of a plurality of nodes determining a window-resource mapping between resources mastered by said each node and a plurality of windows, each window of the plurality of windows corresponding to a separate set of resources for which responsibility is to be redistributed; a first node using a first resource index to locate resource information related to the resources mastered by the first node; wherein the first node is a particular node of the plurality of nodes; a second node of the plurality of nodes using a second resource index to locate resource information related to resources mastered by the second node; reassigning from the first node to the second node responsibility for only a first set of resources, wherein the first set of resources correspond to a first window of said plurality of windows and are the responsibility of said first node; for each window of said plurality of windows that is not the first window, reassigning to a node of the multi-node system responsibility for only a set of resources corresponding to said each window, wherein the corresponding set of resources are the responsibility of said first node; wherein the window-resource mapping is based on; (a) a different type of index access structure than that used for the first resource index, or (b) a window hash function, wherein; the window hash function maps a resource to one of a number of windows of said plurality of windows; the first resource index is a first hash index that uses a first hash function, and the first hash function maps a resource to a first number of buckets, wherein the number of windows is not a multiple or a factor of the first number of buckets. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification