



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Say m=7 0
6 nodes
Say m=7 0
(similarly predecessors)
80 + 2 80 + 2^10
80 + 2^2
80 + 2^3
80 + 2^4
80 + 2^5 80 + 2^6
Say m=
i ft[i]^ N 0 96 1 96 2 96 3 96 4 96 5 112 6 16
Finger Table at N
Say m=7 0
File with key K stored here
Say m=7 0
File cnn.com/index.html with key K42 stored here
Who has cnn.com/index.html? (hashes to K42)
Say m=7 0
File cnn.com/index.html with key K42 stored here
At node n, send query for key k to largest successor/finger entry < k if none exist, send query to successor(n)
Who has cnn.com/index.html? (hashes to K42)
Say m=7 0
File cnn.com/index.html with key K42 stored here
Lookup fails (N45 is dead)
Who has cnn.com/index.html? (hashes to K42)
Say m=7 0
File cnn.com/index.html with key K42 stored here
One solution: replicate file/key at r successors and predecessors
K42 replicated
K42 replicated
Who has cnn.com/index.html? (hashes to K42)
Say m=7 0
Introducer directs N40 to N N32 updates successor to N N40 initializes successor to N45, and inits fingers from it N40 periodically talks to neighbors to update finger table
Stabilization protocol
Say m=7 0
N40 may need to copy some files/keys from N (files with fileid between 32 and 40)
Solution: Each real node joins as r multiple virtual nodes smaller load variation, lookup cost is O(log(N*r)= O(log(N)+log(r))
Large variance
Average Messages per Lookup
Number of Nodes
log, as expected
500 nodes (avg. path len=5) Stabilization runs every 30 s
1 joins&fails every 10 s (3 fails/stabilization round) => 6% failed lookups
Numbers look fine here, but does stabilization scale with N?