Cognitum/Distributed Vector Storev1.0.0
Overview live
Shard vectors across seeds with consistent hashing. Query any seed, get results from all peers. Automatic shard rebalancing when seeds join or leave.
Seeds in ring
online / total
Vectors stored
across the swarm
Active shards
virtual nodes · 128/seed
Query rate
queries / sec (1m avg)
P50 latency
p99 —
Rebalance
idle
last: —
Hash ring topology
128 virtual nodes per seed · MD5 keyspace
Shard distribution
Keyspace coverage per seed
Recent events
shard_assigned · query_distributed · rebalance_started · rebalance_complete

Hash ring

Consistent hashing maps the MD5 keyspace (2^128) onto a circular ring. Each seed owns 128 virtual nodes; a vector hashes to a point and is owned by the next seed clockwise. Adding or removing a seed only reshuffles the arcs it touches.

Ring view

Hover an arc to see the seed that owns it · click a seed in the right panel to highlight

Seeds on the ring

Seeds

Every seed in the swarm holds a slice of the keyspace. Queries fan out to all peers; results are merged before returning to the caller.

Swarm members
Seed ID Hostname IP Status Vectors Shards Keyspace Joined Actions

Distributed query

Submit a query vector to any seed. The local seed broadcasts to peers via query_distributed, merges top-K results from each shard, and returns the global K-nearest neighbours.

Query vector
Paste a vector, choose K, fire it at any seed
Results
No query run yet
Fan-out timeline
Per-seed round-trip for the last query

Vectors

Inserted vectors are hashed to a point on the ring and stored on the seed that owns the arc. Insert below or browse what is already indexed.

Insert vector
Routes via consistent hashing
Browse index
ID Seed Hash Payload

Events

Live event stream from the swarm. Filter by type to follow rebalancing, query fan-out, or shard assignment activity.

Event stream

Config

Tunable parameters for the consistent hashing layer and rebalancer. Changes take effect on next ring update.

Ring
Consistent hashing parameters
Rebalancer
Triggered on seed join/leave
Query fan-out
Distributed query parameters
Source
cognitum-one/cogs/src/cogs/swarm-distributed-store
version 1.0.0
size 14 KB
difficulty hard
hardware none (WiFi only)
input vector store