Why does the Kademlia Distributed Hash Table use UDP as its network transport protocol, even though it’s unreliable?
Why does the Kademlia Distributed Hash Table use UDP as its network transport protocol,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The main reason is that you rapidly query many nodes that you have never established contact to before and possibly will never see again during a lookup.
Kademlia lookups are iterative, i.e. requests won’t be forwarded. A forwarding DHT would be more suited to long-standing TCP connections.
I.e. a large chunk of the traffic consists a short-lived exchange of a request and response between nodes of a network potentially ranging in the millions. The overhead of rapidly establishing thousands of TCP connections would be prohibitive.