Get the App
SLTechnology News&Howtos  ›  Development  › 

How to carry out Tom P2P High performance key-value data Storage

Shulou Source: shulou.com Published: 2022-06-02 05:26:59 10月01日 Update

Today, I will talk to you about how to carry out Tom P2P high-performance key-value data storage, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

TomP2P is a P2P-based storage scheme for high-performance key-value pair data. Each pair data has a table (based on disk or memory) to store its value, and a single value can be queried or updated. The underlying communication framework uses Java NIO to support a large number of concurrent connections.

Main features:

DHT: a distributed Hash Table implemented with Java5 NIO

XOR-based iterative routing similar to Kademlia.

Standard DHT operations: put, get

Extended DHT operations to support custom operations

Direct and indirect replication.

Mesh-based distributed tracker.

Data protection based on signature

Port hop detection and configuration via UPNP

Support for IPv6 and IPv4

Network operations support the listenable future objects concept.

TomP2P 4.0.6 has been released, with major improvements:

1. A better timeout handling mechanism, using Peer.setFutureTimeout () to set the timeout of the future object

2. Fixes in tracker code and peer exchange.

3. DistributedHashHashMap.parallelRequests () is exposed (was DistributedHashHashMap.loop ()); there is an example in TestDHT.testCompareAndPut () of how to use it.

4. There is a flag to enforce UDP or TCP for RPC calls.

5. Update Netty to * to fix an Android-related problem

After reading the above, do you have any further understanding of how to carry out Tom P2P high-performance key-value data storage? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Data storage support high performance content update memory distributed single object underlying scheme more mechanism standard framework version feature knowledge disk Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Redmi Shulou Tech Info macOS Xiaomi