Skip to main content

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.

Metadata

Release files for redis_proxy 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis_proxy 0.0.2
File Size Uploaded Provenance
redis_proxy-0.0.2.tar.gz 3.3 kB Without provenance Details

Release files / redis_proxy-0.0.2.tar.gz

Download URL redis_proxy-0.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dcfe291badbbfe885a50f489e7bc3b519165cd584150205d7a514c265ab4c657
BLAKE2b-256 checksum
How to use checksums
94d50f6a3737be24b69b7425bb1cbdd6ed73eb1e297e1bf24eab2cb1bc57ace6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for redis_proxy 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page