Simple open source DHT implementation in Java for learning purposes [closed]

南笙酒味 提交于 2019-12-20 10:04:37

问题


I'm looking for recommendations for a simple open source implementation of a Distributed Hash Table in Java to play around with. No fancy features, just for learning purposes, no production functionality needed. It should be simple to set up (e.g. 1 physical machine with n-JVMs) and well documented preferably with some examples, tutorials or starting guides.

Research yields these candidates: FreePastry and OpenChord but I'm not fully convinced they meet my criteria simplicity-wise.

Have you got any experience with these or other implementations? Recommendations?

Thanks & adios


回答1:


Maybe JDHT will fit the bill. I haven't checked it out myself, but it's written at a university, sometimes that means it's simple and used for teaching. :-)




回答2:


There is TomP2P on Github.




回答3:


I have been working on an implementation of Kademlia lately. It's very simple to setup and use and it's well documented. There are several tests written that demonstrate the different functionality as well as a starting guide in the Readme.md file itself.




回答4:


You can use openkad




回答5:


I started with free pastry..I've had a great experience with it. It was very simple to set up and run a ring of nodes. I've been mainly using PAST (File storage) and its been quite easy to get running. I'd suggest having a look at the PAST tutorial here. https://trac.freepastry.org/wiki/tut_past

The code is over simplified in my opinion but you say that is all you need so I guess thats ok.



来源:https://stackoverflow.com/questions/5989029/simple-open-source-dht-implementation-in-java-for-learning-purposes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!