Module shard

Module shard 

Source
Expand description

Sharding logic for distributed vector storage

Implements consistent hashing for shard distribution and routing.

Structsยง

CacheStats
Cache statistics
ConsistentHashRing
Consistent hash ring for node assignment
LoadBalancer
Load balancer for shard distribution
LoadStats
Load statistics
ShardMigration
Shard migration manager
ShardRouter
Routes queries to the correct shard