redis cluster read from nearest replica
Author: tamis-laanCreated Jun 19, 2022Updated Sep 22, 2026
LabelsBugstale
My nodejs rest api makes use of redis for cache/state management and is replicated across multiple locations.
Redis runs in master/replicas cluster mode and is also distributed across multiple locations.
In order to reduce latency I would like to read from the nearest read replica and write to master.
I assumed this would already be possible, however I haven't been able to find this feature.
Source: redis/node-redis