simulate_consistent_hashing
Simulate a deterministic FNV-1a 32-bit consistent hashing ring to measure shard load skew and key remapping after scaling out by one node versus naive modulo hashing.
Instructions
Run a deterministic FNV-1a 32-bit consistent hashing ring simulation to measure exact shard load skew (min/max/std-dev) and key remapping percentage when scaling out by 1 node compared against naive modulo hashing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "simulate_consistent_hashing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeCount | No | Initial physical shard count (2..64, default 4). | |
| sampleKeys | No | Number of keys to simulate (500..20000, default 5000). | |
| virtualNodes | No | Virtual nodes per physical shard (1..500, default 150). |