Get desktop application:
View/edit binary Protocol Buffers messages
Chord is the service for inter-node communication. This has all the RPC functions needed to maintain a Chord cluster.
GetPredecessor returns the node believed to be the current predecessor.
GetSuccessor returns the node believed to be the current successor.
Notify notifies Chord that Node thinks it is our predecessor. This has the potential to initiate the transferring of keys.
FindSuccessor finds the node the succedes ID. May initiate RPC calls to other nodes.
CheckPredecessor checkes whether predecessor has failed.
SetPredecessor sets predecessor for a node.
SetPredecessor sets predecessor for a node.
Get returns the value in Chord ring for the given key.
Set writes a key value pair to the Chord ring.
(message has no fields)
Delete returns the value in Chord ring for the given key.
Multiple delete returns the value in Chord ring between the given keys.
RequestKeys returns the keys between given range from the Chord ring.
Used as response type in: Chord.XDelete, Chord.XMultiDelete
(message has no fields)
Used as request type in: Chord.GetPredecessor, Chord.GetSuccessor
Used as response type in: Chord.CheckPredecessor, Chord.Notify, Chord.SetPredecessor, Chord.SetSuccessor
(message has no fields)
Used as request type in: Chord.CheckPredecessor, Chord.FindSuccessor
Used in:
Node contains a node ID and address.
Used as request type in: Chord.Notify, Chord.SetPredecessor, Chord.SetSuccessor
Used as response type in: Chord.FindSuccessor, Chord.GetPredecessor, Chord.GetSuccessor