-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
Description
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.