Last active
October 10, 2015 08:47
-
-
Save danberindei/3664504 to your computer and use it in GitHub Desktop.
HotRod 1.2 proposal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Response header with topology change marker | |
Topology Id [vInt] | |
Num Key Owners [2b - Unsigned Short] | |
Hash Function Version [1b] | |
Hash space size [vInt] | |
Num servers in topology [vInt] | |
m1: Host/IP length [vInt] m1: Host/IP address [string] m1: Port [2b - unsigned short] | |
m2: Host/IP length [vInt] m2: Host/IP address [string] m2: Port [2b - unsigned short] | |
... | |
Num segments in topology [vInt] | |
s1: Segment end [4b] s1: Num owners [1b] s1: 1st owner's index [vInt] s1: 2nd owner's index [vInt] ... | |
s2: Segment end [4b] s2: Num owners [1b] s2: 1st owner's index [vInt] s2: 2nd owner's index [vInt] ... | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With num owners included in "Num segments in topology", we no longer need "Num Key Owners [2b - Unsigned Short]".
Remove hash space size.