https://github.com/redislabs/redis-java-complex-benchmark
This benchmark stress redis with unionstore command
https://github.com/redislabs/redis-java-complex-benchmark
Last synced: about 1 year ago
JSON representation
This benchmark stress redis with unionstore command
- Host: GitHub
- URL: https://github.com/redislabs/redis-java-complex-benchmark
- Owner: RedisLabs
- Created: 2014-11-24T08:16:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-24T09:56:45.000Z (over 11 years ago)
- Last Synced: 2025-04-06T17:01:58.881Z (about 1 year ago)
- Language: Java
- Size: 152 KB
- Stars: 4
- Watchers: 22
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
redis-java-complex-benchmark
============================
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.
1. package this project with maven
2. initialize redis with the zset
for example java -jar saasbenchmark-1.0-SNAPSHOT-jar-with-dependencies.jar init 120 1 300
3. 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