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

This version

0.9.5

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.5-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file rcc-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: rcc-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

File hashes

Hashes for rcc-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 38f897f3af4e5d8df2f574911a9bed1cb7f704bc7c162f51ea353abe73ddffc6
MD5 71cf6864af851890070fe503022ee1ff
BLAKE2b-256 d3cc0c901f7f456e4dd22bd12d50a991017418ed5ee0600da82b3bfef4b6f932

See more details on using hashes here.

Supported by

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