Crate rhizome_p2p

Crate rhizome_p2p 

Source
Expand description

Rhizome P2P

Rhizome is a high—performance, decentralized P2P messaging library implemented on Rust. It is based on the Kademlia DHT protocol with custom data replication and content ranking mechanisms.

§Features

  • 🦀 Rust Core: Maximum performance and memory security without GC.
  • 🔒 Anonymity: DHT-based routing hides direct connections between network participants.
  • ⚡ Async First: A fully asynchronous stack based on tokio and futures.
  • 🔄 Smart replication: Automatic distribution of data to k-nearest nodes.
  • 📈 Popularity system: Content in demand gets storage priority and a higher TTL.
  • 📦 Modularity: You can use it as a ready-made CLI node, or connect it as a library (cargo lib) to your project.

Modules§

config
Configuration Module
dht
Kademlia DHT realization
exceptions
Rhizome Exceptions Module
logger
Module for logging and registration of events
network
Realization of network working on more low transport level
node
Module for work with nodes: types of nodes and their main functions
popularity
Module for work with exchange of popular data and analyze metrics for this data
replication
Need for data copying to other nodes in network
security
Security module for create network more stable
storage
Local storage in node for fast data choosing
utils
Some help functional for work with serialization and crypto

Structs§

MessageBridge
RhizomeClient
ThreadMetadataBridge