https://github.com/creativelive/catbox-redis-master-slave
redis engine for catbox that handles the master-slave replication
https://github.com/creativelive/catbox-redis-master-slave
Last synced: about 1 year ago
JSON representation
redis engine for catbox that handles the master-slave replication
- Host: GitHub
- URL: https://github.com/creativelive/catbox-redis-master-slave
- Owner: creativelive
- License: mit
- Created: 2014-09-22T21:54:13.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T18:59:55.000Z (almost 9 years ago)
- Last Synced: 2025-05-04T12:37:05.701Z (about 1 year ago)
- Language: JavaScript
- Size: 153 KB
- Stars: 1
- Watchers: 11
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cabox-redis-master-slave
[](https://circleci.com/gh/creativelive/catbox-redis-master-slave)
========================
redis engine for catbox that handles the master-slave replication
### Options
```
{
write: {
host: 127.0.0.1,
port: 6379
},
read: {
host: 127.0.0.1,
port: 6379
},
password: 'password',
partition: 'www'
}
```
- `host` - the Redis server hostname. Defaults to `'127.0.0.1'`.
- `port` - the Redis server port or unix domain socket path. Defaults to `6379`.
- `password` - the Redis authentication password when required.
- `partition` - this will store items under keys that start with this value. (Default: '')