Expand description
Redis Cluster support
This module provides functionality for Redis Cluster operations including:
- Slot calculation using CRC16
- MOVED and ASK redirect handling
- Cluster topology management
- Node discovery
Structs§
- Cluster
Topology - Manages cluster topology and slot mappings
- Redirect
Handler - Helper to handle MOVED and ASK redirects
Constants§
- CLUSTER_
SLOTS - Total number of hash slots in Redis Cluster
Functions§
- calculate_
slot - Calculate the hash slot for a given key