redis cluster read from nearest replica
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17.6k
- Forks
- 2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 40
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by reviewing node-redis cluster support and the Redis master/replica setup described here; define how nearest-replica selection and master writes would be verified before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, redis, typescript
- Domain
- backend, database, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100