Cluster-awareness
- Dominant language
- JavaScript
- Stars
- 70
- Forks
- 61
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
I am running hapi 20. Following the documentation, the following configuration works fine on a single-instance redis server.
```
const Hapi = require('hapi')
const CatboxRedis = require('@hapi/catbox-redis');
const server = new Hapi.Server({
cache : [
{
name: 'my_cache',
provider: {
constructor: CatboxRedis,
options: {
partition : 'test',
host: 127.0.0.1,
port: 6379,
db: 0,
}
}
}
]
});
```
Is this configuration also cluster-aware (does it get redirected)? Or do I need to change the configuration to interface with a cluster?
Contributor guide
Research direction
Start by reviewing the @hapi/catbox-redis provider options and the Redis adapter's cluster behavior. The issue names no files or tests; done would mean establishing whether the shown configuration supports Redis redirection or what cluster-specific configuration is required, then documenting that result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, redis
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100