# Overview
Jondis is a high availability pool management class for the excellent https://github.com/andymccurdy/redis-py
# Features
Slave discovery on startup
On master failure, if a slave is promoted, the pool will reconfigure to connect to the new master
# Limitations
Currently all commands are sent to the master
No master discovery if only a slave server is provided
In certain scenarios, the pool will pick up new slaves (if it’s reconfigured), but there’s currently no periodic / automatic slave discovery
Does not talk to sentinel
# Requirements
redis-py
# Usage
In order to configure the pool, you’ll need to provide at least 1 active master server. This is a limitation that will be lifted soon with master discovery.
`python from jondis.pool import Pool pool = Pool(hosts=["redis01:6379","redis02:6379"]) redis = redis_lib.client.StrictRedis(connection_pool=pool) `
Metadata
Release files for jondis 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jondis-0.1.tar.gz | 4.7 kB | Without provenance | Details for jondis-0.1.tar.gz |
Release files / jondis-0.1.tar.gz
| Download URL | jondis-0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a04fe9d4363986fc58ba7f3fd1229a3d9ae47a6b49b9f000773cf83f05ce9d7
|
|
BLAKE2b-256 checksum How to use checksums |
4c710575f3ea021bf07b0ba3e569ee09fe8dd7faec07ee0d4cd6dfc5d9796318
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jondis 0.1
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.