8000 GitHub - cruizba/redis-load-test: Simple tool to load test redis write/read/delete operations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cruizba/redis-load-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis load test

Simple tool to load test redis write/read/delete operations. Each goroutine will write and read a key, and then remove it.

Just run it with the following command:

docker run -it --rm ghcr.io/cruizba/redis-load-test:latest \
    -cluster=redis-1:6379,redis-2:6379,redis-3:6379 \
    -password=yourpassword \
    -goroutines 10 \
    -sleep 1s
  • cluster is a comma separated list of redis nodes.
  • password is the redis password.
  • goroutines is the number of goroutines to use.
  • sleep is the time to sleep between each write/read.

In case of errors, they will appear in the stout.

I've written this just to check redis faultolerance while starting and removing servers from a redis cluster.

Note: This can polute your redis cluster, so don't use it in real production.

About

Simple tool to load test redis write/read/delete operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
0