Load generator for cache servers
Load testing for cache servers, built on io_uring.
Cachecannon sends Valkey, Redis and Memcache traffic at a fixed rate or as fast as the server allows, and records latency percentiles for every run. It runs on Linux and does its network I/O through io_uring, using the Ringline runtime.
curl -fsSL https://cachecannon.cc/install.sh | bash
What it measures
Latency at a known request rate.
Latency percentiles
Reports p50, p90, p99, p99.9 and p99.99 latency, plus time to first byte for GET responses.
Saturation search
Raises the request rate in steps until one fails: a latency percentile over its SLO, or an achieved rate short of the target. It then bisects between the last passing rate and the failing one, and reports the highest rate that passed.
Recorded runs
Metrics can be written to a Parquet file and opened in a local web
dashboard with cachecannon view. Rezolus recordings from
the client and server hosts can be overlaid on the same charts.
Workloads
Configured in one TOML file.
- Request pipelining, with a configurable depth per connection
- Prefill to populate the keyspace before measuring, and backfill that sets a key after a miss
- Append streams that grow the keyspace in batches, with reads weighted toward the newest keys
- Uniform or Zipfian key distribution
- Valkey and Redis Cluster, with topology discovery and hash-slot routing
- TLS connections to the server
- Worker threads pinned to chosen CPU cores
More
- Installation — the install script, APT and YUM repositories, and release packages
- Quick start — the first runs, using the example configurations in the repository’s
config/directory - Practical guide — workload patterns, prefill, saturation search, cluster mode and tuning
- Reference — every configuration option, the Parquet schema and the metrics catalog