Benchmark · joyieldInc/predixy Wiki · GitHub
Skip to content

Benchmark

fortrue edited this page Dec 22, 2023 · 4 revisions

Proxy

Platform

Name Detail
CPU AMD Ryzen 7 1700X Eight-Core Processor 3.775GHz
Memory 16GB DDR4 3000
OS x86_64 GNU/Linux 4.10.0-27-generic #30~16.04.2-Ubuntu
predixy Version1.0.1
twemproxy Version0.4.1
codis Versioncodis3.2.0-go1.8.1-linux.tar.gz
cerberus github8d68a5d
corvus Version0.2.6

Deploy

Proxy Redis
predixy 3 redis-servers running in Redis Cluster
twemproxy 3 redis-servers running with hash CRC16 and distribution modula
codis 3 codis-servers running
cerberus 3 redis-servers running in Redis Cluster
corvus 3 redis-servers running in Redis Cluster

Single thread SET/GET benchmark

Command

$ redis-benchmark -p xxx -t set,get -r 3000 -n 1000000 -d xxx

Result

image

Single thread PIPELINE SET/GET benchmark

Command

$ redis-benchmark -p xxx -t set,get -r 3000 -n 5000000 -P 20 -d xxx

Result

image redis-benchmark limit the result when datasize >= 2048 for predixy/twemproxy/corvus in get command

2 threads PIPELINE SET/GET benchmark

Command

$ redis-benchmark -p xxx -t set,get -r 3000 -n 10000000 -P 20 -d xxx

Result

image redis-benchmark limit the result when datasize >= 1024 for predixy in get command