{"repo":"tidwall/cache-benchmarks","free":true,"listed":false,"github":"https://github.com/tidwall/cache-benchmarks","clone":"git clone https://github.com/tidwall/cache-benchmarks.git","description":"Benchmarking Memcache, Redis, Valkey, Dragonfly, and Garnet caching software.","language":"Go","stars":140,"topics":["benchmarks","cache","dragonflydb","garnet","memcache","redis","valkey"],"license":null,"category":"databases-storage","readme_excerpt":"Cache Benchmarks These benchmarks measure thoughput, latency, and CPU cycles for Memcache, Redis, Valkey, Dragonfly, Garnet, and Pogocache. - Persistance is turned off for all caches, no disk operations. - All connections are local, UNIX named pipes. - The hardware is an AWS c8g.8xlarge (32 core non-NUMA ARM64). - The benchmarking tool is memtier benchmark. - Includes pipelining for 1, 10, 25, and 50. - Each benchmark has 31 runs. About 15K total runs. - The median of the 31 is used for graphing. - Latency is measured in 50th, 90th, 99th, 99.9th, 99.99th percentiles. - Latency also includes MAX, the absolute slowest single request. - CPU cycles are measured using the perf Linux utility. The \"Threads\" at the bottom of each graph represents the number of I/O Threads that the caching server software is configured to use for that specific benchmark. All caching software benchmarked has some type of multithreaded networking support through the following startup flags. - Memcache: -t - Redis: --io-threads - Valkey: --io-threads - Dragonfly: --proactor threads - Garnet: --miniothreads/maxiothreads --minthreads/maxthreads - Pogocache: -t For each benchmark, a fresh instance of the cache server software is started, which is dedicated to 16 cores using taskset -c 0-15 . The memtier benchmark tool uses the other 16 cores taskset -c 16-31 . Of those 16 cores, there are 256 clients spread evenly between 16 threads. Those clients perform 100K SET and 100K GET operations, each. There's a wa","default_branch":null,"files":null,"tree":[],"storefront":"/r/tidwall","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tidwall/cache-benchmarks/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."}