🔄 Distributed Systems
Consensus algorithms, distributed coordination, replication, and fault-tolerant systems
Raft
Gossip
CRDT
Overview
Consensus algorithms, distributed coordination, replication, and fault-tolerant systems
Consensus
Raft and Paxos implementations
Gossip Protocol
Epidemic-style information dissemination
Replication
Multi-master and leader-follower
Packages
assets
Advanced assets implementation with high performance and reliability.
modules
Advanced modules implementation with high performance and reliability.
Quick Start Example
Get started with Distributed Systems:
use avx_raft::{RaftNode, Config};
use avx_gossip::GossipCluster;
// Create Raft consensus cluster
let config = Config::default();
let node = RaftNode::new(node_id, peers, config)?;
// Start gossip protocol
let cluster = GossipCluster::new(bind_addr)?;
cluster.join(seed_nodes).await?;