# memtier_benchmark

> memtier_benchmark is an open source, self-hosted database benchmarking tool from Redis, scripted in C++.

- Canonical: https://perf.jmeter.ai/tools/memtier-benchmark/
- Official: https://github.com/redis/memtier_benchmark
- Source: https://github.com/redis/memtier_benchmark
- Vendor: Redis
- Category: Database Benchmarking
- License: Open Source — Free; Apache License 2.0.
- Deployment: Self-hosted
- Status: Active
- Scripting: C++
- Protocols: Redis, Memcached
- OS support: Linux, macOS
- First released: 2013

- Last verified: 2026-08-12

## What it is
memtier_benchmark generates configurable key-value traffic with multiple clients, threads, pipelines, and ratio distributions. It benchmarks Redis and Memcached protocols while reporting throughput, errors, and latency percentiles.

## Choose it when
- Database throughput, transaction latency, and capacity benchmarks
- Teams that prefer open-source licensing and self-hosting options
- Groups comfortable scripting in C++

## Look elsewhere when
- Teams unwilling to operate generators, results storage, and scaling

## Architecture
memtier_benchmark is operated as a database benchmark with C++. Workload definitions and database sessions determine concurrency, while results focus on throughput and latency rather than browser journeys.

## Pricing
Free; Apache License 2.0.

## Compare

## FAQ
### Who is memtier_benchmark for?
memtier_benchmark is best for engineers measuring database throughput, transaction latency, and capacity. It is open source, so teams can self-host and extend it. Vendor: Redis. Deployment model: self-hosted. Free; Apache License 2.0. Confirm details against the official site and a short proof-of-concept in your environment.

### How does memtier_benchmark differ from BenchBase?
Compared with BenchBase, scripting centers on C++ rather than Java, XML. memtier_benchmark lists protocols Redis, Memcached; BenchBase lists JDBC, SQL. Status is active versus active. Use the Test Rig to compare full specs side by side before a proof-of-concept. Confirm details against the official site and a short proof-of-concept in your environment.

### What scripting language and concurrency model does memtier_benchmark use?
memtier_benchmark uses C++ for scripting or scenario definition. Runtime model: protocol-oriented virtual users configured through the product workflow. OS support: Linux, macOS. Protocols: Redis, Memcached. Match these to how your team already authors tests and which systems you must drive under load.

### What is the cloud or enterprise path for memtier_benchmark?
memtier_benchmark is a focused benchmark harness rather than a browser or enterprise load controller. Use its measured workload and reporting model to isolate database or code performance before broader system testing. As open source, commercial support or hosted siblings may exist separately. Check the official site. Pricing note: Free; Apache License 2.0.

### What are known limitations of memtier_benchmark?
memtier_benchmark limitations to weigh: self-hosted tools require you to provision, scale, and observe load generators yourself. Status: active. Always validate against your target protocols and scale with a proof-of-concept. Confirm details against the official site and a short proof-of-concept in your environment.

---
Curated by NaveenKumar Namachivayam (QAInsights) · methodology: https://perf.jmeter.ai/about/#methodology · corrections: https://github.com/QAInsights/Performance-Testing-Tools/issues/new?title=Tool%20submission%3A%20&body=Tool%20name%3A%20%0AOfficial%20URL%3A%20%0AWhat%20should%20be%20added%20or%20corrected%3F%20%0A