redisLoadTest/README.md
2022-01-04 19:21:59 -05:00

31 lines
856 B
Markdown

# Redis Load Test
A simple program to perform load testing against a redis instance
## Requirements
- go compiler (only tested on go1.17)
## Install
`make build` for docker installation
for local installation:
```
make build-local
mv redisLoadTest /usr/local/bin/
```
## Commands
```
-host=string:string first string is host second is port
-username=string string of username
-password=string string of password
-db=int --not implemented yet
-initialize=bool defaults to false, initializes database
-rate=int defautls to 50 at int / second
-burst=bool defaults to true performs burst test along with steady rate test
-dbEntries=int defaults to 50000 number of database entries to add
-duration=int defaults to 10 for each test duration in seconds
```
## sample usage
```
redisLoadTest -host=MyCoolServer:6379 -initialize=true -rate=60 -duration=60
```