TomP2P 是一个基于 P2P 的高性能 key-">value 结对数据的存储方案,每个结对数据拥有一个表(基于磁盘或者内存)用来存储其值,单个值可被查询或者更新,底层的通讯框架使用 Java 的 NIO ,支持大量并发连接。
TomP2P is an extended DHT, which stores multiple values for a key. Each peer has a table (either disk-based or memory-based) to store its values. A single value can be queried / updated with a secondary key. The underlying communication framework uses Java NIO to handle many concurrent connections.
Keywords: Overlay Network, Peer-to-Peer (P2P), Distributed Hash Table (DHT), Java DHT implementation, Kademlia.
特点:
·Java5 DHT implementation with non-blocking IO.
·XOR-based iterative routing similar to Kademlia.
·Standard DHT operations: put, get
·Extended DHT operations and support for custom operations
·Direct and indirect replication.
·Mesh-based distributed tracker.
·Data protection based on signatures.
·Port forwarding detection and configuration via UPNP.
·Runs with IPv6 (tested with Linux) and IPv4.
·Network operations support the listenable future objects concept.
TomP2P 3.2.10更新日志:
* Set default to not firewalled (no NAT testing), can be enabled with P2PConfiguration.setBehindFirewall().
* putIfAbsent() fixes. No denied message is sent back.
* PeerAddress serialization improvements, removed duplicate code from PeerAddress and MessageCodec.
* Close storage on shutdown, which caused an exception if writing still in progress.
* PeerMap can ignore firewalled peers.
* Configuration cleanup: P2PConfiguration and ConnectionConfiguration.
* Enabling more testcases (needs now -Xmx1024M).
下载地址:
http://tomp2p.net/dev/mvn/net/tomp2p/TomP2P/3.2.10/TomP2P-3.2.10-dist.zip
http://tomp2p.net/dev/mvn/net/tomp2p/TomP2P/3.2.10/TomP2P-3.2.10-dist.tar.bz2