Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When execute EVAL command in cluster mode, 'All Stats' output contains zeros for all the columns except 'Latency' #263

Open
godjoem opened this issue Aug 25, 2024 · 0 comments

Comments

@godjoem
Copy link

godjoem commented Aug 25, 2024

It's a similar issue as #128
When running memtier_benchmark with EVAL command in cluster mode. (It's fine when running on a standalone Redis)
The command:

memtier_benchmark -s 127.0.0.1 -p 6380 -c 10 -n 100 --cluster-mode \
  --key-prefix={account}: --key-minimum=1 --key-maximum=10000 \
  --command='EVAL "return redis.call(\"SET\", KEYS[1], ARGV[1])" 1 __key__ __data__' \
  --command-key-pattern=P

Output:

ALL STATS
============================================================================================================================
Type         Ops/sec    MOVED/sec      ASK/sec    Avg. Latency     p50 Latency     p99 Latency    p100 Latency       KB/sec 
----------------------------------------------------------------------------------------------------------------------------
Evals           0.00         0.00         0.00         0.54092         0.39100         3.05500        12.41500         0.00 
Totals          0.00         0.00         0.00         0.54092         0.39100         3.05500        12.41500         0.00 

I use memtier_benchmark 2.1.1 and run Redis cluster in docker containers (latest Redis image).

The output is fine when running the command in #128
memtier_benchmark --clients=50 --threads=4 --requests=10000 --data-size-range=32-1000 --pipeline=100 --ratio=5:5 -p 6380 --cluster-mode

I found that this problem occurs when I execute the EVAL command on a Redis cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant