Skip to main content

dbx_core/sharding/
mod.rs

1//! Sharding Module — Hash 기반 수평 분할 MVP
2//!
3//! # 모듈 구성
4//!
5//! - [`router::ShardRouter`]: FNV1a 해시 기반 키→샤드 라우팅
6//! - [`scatter_gather::ScatterGather`]: 분산 쿼리 실행 (scatter) + 결과 병합 (gather)
7
8pub mod node_ring;
9pub mod rebalancer;
10pub mod router;
11pub mod scatter_gather;
12
13pub use node_ring::NodeRing;
14pub use rebalancer::{MigrationTask, Rebalancer, rebalancer_on_add, rebalancer_on_remove};
15pub use router::{ShardNode, ShardRouter};
16pub use scatter_gather::ScatterGather;