Skip to main content

Module sharding

Module sharding 

Source
Expand description

Sharding Strategies for Distributed Vector Storage

Supports multiple partitioning strategies:

  • Consistent hashing for even distribution
  • Range-based for locality-aware placement
  • Custom strategies for specialized workloads

Structs§

ConsistentHashRing
Consistent hash ring for shard assignment
PartitionInfo
Information about a single partition/shard
RangeSharder
Range-based sharding for ordered data
ShardAssignment
Assignment of a key to a shard
ShardManager
Unified shard manager supporting multiple strategies
ShardingConfig
Configuration for sharding behavior

Enums§

ShardingStrategy
Strategy for distributing data across shards