Expand description
Sharding Module — Hash 기반 수평 분할 MVP
§모듈 구성
router::ShardRouter: FNV1a 해시 기반 키→샤드 라우팅scatter_gather::ScatterGather: 분산 쿼리 실행 (scatter) + 결과 병합 (gather)
Re-exports§
pub use node_ring::NodeRing;pub use rebalancer::MigrationTask;pub use rebalancer::Rebalancer;pub use rebalancer::rebalancer_on_add;pub use rebalancer::rebalancer_on_remove;pub use router::ShardNode;pub use router::ShardRouter;pub use scatter_gather::ScatterGather;
Modules§
- node_
ring - 일관된 해싱(Consistent Hashing)을 구현하는 Hash Ring (vnode 지원)
- rebalancer
- 데이터 리밸런싱 (Data Rebalancing)
- router
- Shard 라우터 — FNV1a 해시 기반 키→샤드 매핑
- scatter_
gather - Scatter-Gather 실행기