SLIDE 39 CS535 Big Data 2/19/2020 Week 5-B Sangmi Lee Pallickara http://www.cs.colostate.edu/~cs535 Spring 2020 Colorado State University, page 39
Lookup process: example 1
1 2 3 4 5 6 7 Start int succ 1 [1,2) 1 2 [2,4) 3 4 [4,0) 0 Finger table Start int succ 2 [2,3) 3 3 [3,5) 3 5 [5,1) 0 Finger table Start int succ 4 [4,5) 0 5 [5,7) 0 7 [7,3) 0 Finger table
node(machine) 1 to find the successor of id 4.
- 1. Node 3 wants to find the
successor of identifier 4
to [3,5)
- 3. Check succ: 3
- 4. Node 1 asks node 3
to find successor of 4
CS535 Big Data | Computer Science | Colorado State University
Lookup process: example 2
1 2 3 4 5 6 7 Start int succ 1 [1,2) 1 2 [2,4) 3 4 [4,0) 0 Finger table Start int succ 2 [2,3) 3 3 [3,5) 3 5 [5,1) 0 Finger table Start int succ 4 [4,5) 0 5 [5,7) 0 7 [7,3) 0 Finger table
- 0. Request comes into node 3.
- 1. Node 3 wants to find the
successor of identifier 0
to [7,3)
- 3. Check succ: 0
- 4. Node 3 asks node 0
to find successor of 1
identifier 0 as well.à succ is 0.
CS535 Big Data | Computer Science | Colorado State University