# 使用 Homebrew, Nix 安装 memtier_benchmark

查看 memtier_benchmark 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:memtier_benchmark
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install memtier_benchmark
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#memtier-benchmark
```

  证据: nixpkgs package indexes: pkgs/by-name/me/memtier-benchmark/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:memtier_benchmark
- **软件包管理器:** Homebrew
- **版本:** 2.5.1
- **来源摘要:** Redis and Memcache traffic generation and benchmarking tool
- **主页:** <https://github.com/redis/memtier_benchmark>
- **仓库:** <https://github.com/redis/memtier_benchmark>
- **最后更新:** 2026-07-16T12:17:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- memtier_benchmark (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.5.1
## 项目历史与用法

memtier_benchmark began as a Redis Labs/Garantia Data benchmarking tool for generating heavy Redis and Memcached traffic. Yiftach Shoolman announced it to the Redis DB mailing list in July 2013 as a complementary tool to redis-benchmark, noting that redis-benchmark covered only simple GET and SET workloads. Redis's own launch article described the motivation as regression testing and database-performance optimization, with the source released under GPLv2.

### 项目历史

The tool's niche is realistic key-value-store load generation from a single command-line executable. It supports both Redis and Memcached protocols, multithreaded and multi-client execution, configurable read/write ratios, sequential or random key patterns, expiry ranges, Redis Cluster, and TLS. In practice, engineers use it for capacity tests, latency and throughput comparisons, performance regression checks, and synthetic workload generation before changing cache/database deployments.

### 使用方式

Its packaging footprint reflects that role: it is distributed as Redis-provided APT/YUM packages, a Homebrew formula, and a Nix package. The Phoronix Test Suite added a memtier_benchmark profile in 2019, making it part of reusable public benchmark workflows as well as Redis-oriented operations work.

### 来源

- <https://github.com/redis/memtier_benchmark>
- <https://groups.google.com/g/redis-db/c/aPFyn8jLFTs>
- <https://openbenchmarking.org/test/pts/memtier-benchmark-1.5.0>
- <https://redis.io/blog/memtier_benchmark-a-high-throughput-benchmarking-tool-for-redis-memcached/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - memtier-benchmark: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/memtier-benchmark/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/memtier_benchmark.yml](https://github.com/mxcl/pkgdb/blob/main/combined/memtier_benchmark.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
