Go to file
mitch 6c6595b2a0 Added output from tests
Tested tests and fixed errors
Adjusted default values
2022-01-05 01:09:52 -05:00
.gitignore Initial Commit 2021-12-25 00:49:07 -05:00
burstTest.go Added output from tests 2022-01-05 01:09:52 -05:00
Dockerfile Fixed build 2022-01-04 20:27:35 -05:00
go.mod Cleanup, tested dockerfile and makefile 2021-12-26 18:49:52 -05:00
go.sum Cleanup, tested dockerfile and makefile 2021-12-26 18:49:52 -05:00
LICENSE.md Unfinished changes 2021-12-29 10:54:43 -05:00
Makefile Fixed build 2022-01-04 20:27:35 -05:00
rateTest.go Added output from tests 2022-01-05 01:09:52 -05:00
README.md fixed readme 2022-01-04 19:21:59 -05:00
redisHandler.go Added output from tests 2022-01-05 01:09:52 -05:00
redisLoadTest.go Added output from tests 2022-01-05 01:09:52 -05:00
testHandler.go Added output from tests 2022-01-05 01:09:52 -05:00

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