Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report