redis java benchmark is a tool used to load redis with the complex command zunionstore. its a java maven project so it can easily be used in any IDE that support maven such as eclipse and InteliJ.
this benchmark load redis with zunionstore command, it is currently set to union 4 zsets each with 20k items. the load and the number of zset to union is configurable with parameters.
Getting started.
-
package this project with maven
-
initialize redis with the zset for example java -jar saasbenchmark-1.0-SNAPSHOT-jar-with-dependencies.jar init 120 1 300
-
run the benchamrk
java -jar saasbenchmark-1.0-SNAPSHOT-jar-with-dependencies.jar run
120 - time to run the becnhmark in seconds
1 - number of threads for this load 300 - number of items to be loaded