Skip to main content

cluster-aware redis-cli

Project description

Cluster-aware re-implementation of redis-cli.

Here’s the problem:

$ redis-cli -c -h node-0 set apple sauce
-> Redirected to slot [7092] located at 172.255.0.3:6379
OK
$ ctrl-D
$ redis-cli -c -h node-0 keys "*"
(empty list or set)
$ redis-cli -c -h node-1 keys "*"
1) "apple"

Wouldn’t it be great if that keys * worked the same was as in non-clustered mode?

$ redis-cli-cluster -h node-0 set apple sauce
-> Redirected to slot [7092] located at 172.255.0.3:6379
OK
$ ctrl-D
$ redis-cli-cluster -h node-0 keys "*"
1) "apple"

Project details


Download files

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

Source Distribution

redis-cli-cluster-0.6.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

redis_cli_cluster-0.6.1-py3-none-any.whl (4.9 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