a redis proxy that will seperate read and write
Project description
redis_proxy
A redis proxy that supprot read/write splitting. It works like haproxy, but only used with redis.For now it’s a very rough project.
The source is at redis proxy.
Usage
install:
pip install redis_proxy
then run:
redis-proxy -c config.json
Config Example
For example:
[ {"listen": 6378, "master":{"host": "host01", "port": 6378}, "slave": [{"host": "host02", "port": 6380}] }, {"listen": 6377, "master":{"host": "host01", "port": 6379}, "slave": [{"host": "host02", "port": 6380}, {"host": "host03", "port": 6380}] } ]
The proxy will listen on port 6377 and 6378, and forward read to the slave, write to the master.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redis_proxy-0.0.2.tar.gz
(3.3 kB
view hashes)