Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Redis Hash Slot Distribution

Distribute the fixed Redis cluster slot count across a chosen number of primaries.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaMinimum slots per primary = Math.floor(16384/n); Primaries receiving one extra slot = 16384%n; Maximum slots per primary = Math.ceil(16384/n)
Sources and model references

Made for real tasks

  • Distribute the fixed Redis cluster slot count across a chosen number of primaries.
Explore step-by-step workflows →

Worked example

Inputs

Primary nodes
6 nodes

Expected results

Minimum slots per primary
2730 slots
Primaries receiving one extra slot
4 nodes
Maximum slots per primary
2731 slots

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter primary nodes in the displayed units.
  2. Calculate the scenario, then compare it with measurements before changing a system.

Try this example

{
  "n": 6
}

Accuracy and scope

Balanced slot allocation only; key sizes and hot-key load can remain uneven.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.