slotcount

command module
v0.0.0-...-70c2fae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

Background

In production environments, it is often found that the memory usage of different shards in Redis clusters is uneven. This is because the data distribution of Redis clusters is based on hash slot. If the hash slot is not evenly distributed, the memory usage of different shards will be likely uneven.

Function

This tool can be used to calculate and print the number of slots in each shard.

Usage

make build

./build/slotcount <ip:port>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL