{"repo":"tair-opensource/resp-benchmark","free":true,"listed":false,"github":"https://github.com/tair-opensource/resp-benchmark","clone":"git clone https://github.com/tair-opensource/resp-benchmark.git","description":"resp-benchmark is a benchmark tool for testing databases that support the RESP protocol, such as Redis, Valkey, and Tair.","language":"Rust","stars":26,"topics":["redis","tair","valkey","benchmark"],"license":"MIT","category":"databases-storage","readme_excerpt":"resp-benchmark A high-performance benchmark tool for Redis, Valkey, Tair, and any RESP-compatible database Built with Rust for maximum throughput &bull; Python bindings for ease of use English 中文 --- Table of Contents - Installation - Quick Start - Command Syntax - Lua Script Support - Command Line Options - Advanced Features - Performance Tips - Examples - Python Library API - Contributing - License Installation Requires Python 3.9+. Prebuilt wheels are available for macOS and Linux. Quick Start Command Line Python Library Command Syntax resp-benchmark uses a placeholder system to generate varied, realistic test data. Placeholders are enclosed in {} within the command string. Key Placeholders Placeholder Description Example --- --- --- {key uniform N} Random key from key 0000000000 to key {N-1} , each equally likely {key uniform 100000} → key 0000042371 {key sequence N} Sequential key from 0 to N-1, wrapping around. Ideal for loading data because each key is written exactly once before repeating. {key sequence 100000} → key 0000000000 , key 0000000001 , ... {key zipfian N} Zipfian distribution (exponent 1.03): a small fraction of keys receive most requests, simulating real-world cache access patterns. {key zipfian 100000} → frequently key 0000000001 , rarely key 0000099999 Value Placeholders Placeholder Description Example --- --- --- {value N} Random alphanumeric string of N bytes, different on every request {value 64} → a8x9mK2pQ7... (64 bytes) {rand N} Random integer from","default_branch":null,"files":null,"tree":[],"storefront":"/r/tair-opensource","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tair-opensource/resp-benchmark/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."}