Determining affinity in a cluster
First Claim
1. A method for communicating affinity information in a system that includes a plurality of nodes, comprising:
- causing each node of the plurality of nodes to maintain a set of affinity information by performing the steps of storing, within the set of affinity information, affinity information relating to the node'"'"'s own use of each object of a plurality of objects;
when the node sends a particular type of message to another node, piggy-backing on the message affinity information relating to the node'"'"'s use of a particular object; and
when the node receives a particular type of message from another node, reading from the message piggy-backed affinity information relating to the other node'"'"'s use of a particular object, and updating the set of affinity information based on the affinity information that was piggy-backed on the message from the other node.
1 Assignment
0 Petitions
Accused Products
Abstract
A lock manager system is provided that includes multiple distinct mechanisms for assigning resources to masters. Specifically, the lock manager system includes (1) one or more assignment mechanisms that do not take into account the affinity between nodes and objects (“affinity-independent assignment mechanisms”), and (3) one or more assignment mechanisms that do take into account the affinity between nodes and objects (“affinity-based assignment mechanisms”). At any given time, the assignment of any given resource to a master is governed by only one of the multiple assignment mechanisms employed by the system. Various techniques are described for determining which assignment mechanism to use with which resources.
85 Citations
28 Claims
-
1. A method for communicating affinity information in a system that includes a plurality of nodes, comprising:
causing each node of the plurality of nodes to maintain a set of affinity information by performing the steps of storing, within the set of affinity information, affinity information relating to the node'"'"'s own use of each object of a plurality of objects;
when the node sends a particular type of message to another node, piggy-backing on the message affinity information relating to the node'"'"'s use of a particular object; and
when the node receives a particular type of message from another node, reading from the message piggy-backed affinity information relating to the other node'"'"'s use of a particular object, and updating the set of affinity information based on the affinity information that was piggy-backed on the message from the other node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
Specification