Skip to main content

A simple asyncio redis client with cluster support and a resharding cli tool.

Project description

General

PyPI version Build status PyPI Python Versions License Wheel

A Redis Cluster Client

Rationale

The main asyncio redis library does not support redis cluster at this point. There is another library named aredis which has cluster support, but which has some small bugs for which pull requests existed, that were not merged until recently. Getting a redis client to work is not terribly hard, thanks to the design of redis, so I started this project and got it to work in a limited amount of time.

Tools

Several tools come with this package, as subcommands of rcc.

  • keyspace / will turn on redis keyspace notifications and tell you what your hot keys are.
  • binpacking / will help reshard your cluster in an optimal way based on your usage. This will consume the output of the analyze-keyspace command
  • make-cluster / will create configuration files for running a redis cluster, start redis servers and initialize the cluster (using redis-cli commands)

Interested? Go read the docs

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rcc-0.9.11-py3-none-any.whl (33.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page