{"repo":"redis-performance/redis-benchmark-go","free":true,"listed":false,"github":"https://github.com/redis-performance/redis-benchmark-go","clone":"git clone https://github.com/redis-performance/redis-benchmark-go.git","description":"redis benchmark go utility","language":"Go","stars":21,"topics":["redis-benchmark","hacktoberfest","performance","redis"],"license":null,"category":"databases-storage","readme_excerpt":"redis-benchmark-go Overview This repo contains code to mimic redis-benchmark capabilities in go. Getting Started Download Standalone binaries ( no Golang needed ) If you don't have go on your machine and just want to use the produced binaries you can download the following prebuilt bins: https://github.com/redis-performance/redis-benchmark-go/releases/latest Here's how: Linux x86 arm64 OSX x86 arm64 Windows Installation in a Golang env The easiest way to get and install the benchmark utility with a Go Env is to use go get and then go install : Docker Pre-built Docker images are available on Docker Hub: Images are built for linux/amd64 and linux/arm64 . Usage of redis-benchmark-go Sample output - Rate limited example. 1000 Keys, 100K commands, @10K RPS Sample output - Rate limited SET + WAIT example. 39M Keys, 500K commands, @5K RPS Sample output - 10M commands Sample output - running in loop mode ( Ctrl+c to stop ) Client side Caching benchmark Client side caching was introduced in version v1.0.0 of this tool and requires the usage of the rueidis vanilla client. This means that for using CSC you need to use a minimum of 2 extra flags on your benchmark, namely -rueidis -csc . Bellow you can find all flags that control CSC behaviour: If you take the following benchmark command The above example will send the following command to redis in case of cache miss: If the key's TTL on the server is smaller than the client side TTL, the client side TTL will be capped. On the second comm","default_branch":null,"files":null,"tree":[],"storefront":"/r/redis-performance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redis-performance/redis-benchmark-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}