Question: Because an integer in [0, 2/n - I] can be expressed as an n-bit binary number in a DHT, each key can be expressed as

Because an integer in [0, 2/n - I] can be expressed as an n-bit binary number in a DHT, each key can be expressed as k =(k0' k1 . .. , k0_1,), and each peer idenn tifier can be expressed P =(p0' Pl' ... ,Pn-1 ,). Let's now define the XOR distance between a key k and peer P as
d(k, p) = Ik,-P,I 2' P,1 2 ja0

Describe how this metric can be used to assign (key, value) pairs to peers. (To learn about how to build an efficient DHT using this natural metric, see [Maymounkov 2002] in whjch the Kademlia DHT is described.)

d(k, p) = Ik,-P,I 2' P,1 2 ja0

Step by Step Solution

3.39 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

For each key we first calculate the distances according to dkp between itself and all ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

899-CS-CN (460).docx

120 KBs Word File

Students Have Also Explored These Related Computer Network Questions!