#dht #flare-zrpc #zrpc

flare-zrpc

The RPC library on top of Zenoh with support for serialization library of choice

16 releases

Uses new Rust 2024

0.1.27 Mar 6, 2025
0.1.26 Feb 4, 2025
0.1.22 Jan 28, 2025
0.1.12 Dec 10, 2024

#970 in Network programming

Download history 167/week @ 2024-12-09 7/week @ 2024-12-16 251/week @ 2025-01-06 401/week @ 2025-01-13 354/week @ 2025-01-20 159/week @ 2025-01-27 519/week @ 2025-02-03 17/week @ 2025-02-10 11/week @ 2025-02-17 7/week @ 2025-02-24 127/week @ 2025-03-03 12/week @ 2025-03-10

149 downloads per month
Used in 2 crates

Apache-2.0

30KB
747 lines

Flare DHT

The learning project to create the distributed KV database in Rust language.

This library is still in the early stage of development. No recomment for using.

// === Example

// [source, bash] // ---- // # start leader // cargo run -- -p 8001 -n 0 -l // # start other and join to leader // cargo run -- -p 8002 -n 1 --peer-addr http://127.0.0.1:8001 // cargo run -- -p 8003 -n 2 --peer-addr http://127.0.0.1:8001 // ----

TODOs

  • sharding KV store
  • Raft-based replication
  • join mechanism
  • leave mechanism
  • distributed shards
  • customizable shard interface
  • member discovery
  • shard rebalancing
  • more APIs
  • lock
  • batch (atomic?)
  • client SDK
  • transaction support
  • testing
  • Kubernetes Deployment

Dependencies

~24–36MB
~557K SLoC