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.

Files for redis-cli-cluster, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size redis_cli_cluster-0.6.1-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size redis-cli-cluster-0.6.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page