A POC of a stress tester for redis in golang. Implemented using redigo and redis-go-cluster.
Single node (Default mode)
$ redisbench -redisNodes=192.168.1.2:6379
Cluster
$ redisbench -redisNodes=127.0.0.1:6379,127.0.0.1:6380,127.0.0.1:6381
For more information about options run $ redisbench -help
The following points are what from my point of view we need to have before having the first beta version.
- test
- cluster aware
- bynary data maybe using
[]byte('str')
in place of a string - more information to be displayed - [WIP]
- optimizations to randomization of strings
God save stackoverflow for providing the strings randomization just in time.
All the contributions are welcome is nice to know that this can be useful for someone else.