Skip to main content

Redis pool for HA redis clusters

Project description

# Overview

Jondis is a high availability pool management class for the excellent

# 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


# 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) `

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jondis-0.1.tar.gz (4.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page