substitutefor

software · Q239

hey

Small HTTP load generator with worker concurrency, per-worker rate limits and summary or CSV output.

Suggest a correction

Overview

hey is a small command-line HTTP load generator that sends a configured number of requests, or runs for a duration, at a chosen worker concurrency. It provides summary statistics or CSV output and documents HTTP/2 support.[2]

Choosing the workload

The request-count and duration modes serve different uses: specifying a duration overrides the requested count. Concurrency sets the number of workers, while the QPS option limits each worker individually rather than the whole process. Increasing concurrency without adjusting that limit can therefore increase the aggregate offered load. These settings should be recorded together when comparing repeated measurements.[2]

Request and connection behavior

Users can choose methods, headers, bodies supplied directly or from a file, and HTTP/2 operation. Options also control redirects, compression and keep-alive. A benchmark's transport configuration affects the workload being measured, so retaining only the URL is insufficient to reproduce it. For example, opening fresh connections exercises different work from repeatedly reusing established ones.[2]

Output and retained samples

The inspected reporter implementation counts completed results and maintains error information, while retaining detailed latency and related successful-request samples only up to a one-million-entry ceiling. That is an implementation-level reporting boundary, not a documented cap on the total requests a run may issue. Very long runs should not be assumed to yield an unlimited per-request dataset, and downstream analysis should verify what the chosen output actually contains.[3]

Distribution and scope

The project uses Apache-2.0 and lists downloadable binaries for Linux, macOS and Windows, along with a Homebrew option. It describes a deliberately small HTTP benchmarking program rather than a visual test-suite manager. This article concerns the rakyll/hey project, formerly named boom; the older name should not be confused with other unrelated tools using that word.[1][2]

Substitution scope

hey can substitute for oha for simple HTTP request-count or duration benchmarks where a compact summary or CSV is sufficient. Although oha was inspired by hey, its QPS option applies globally, so copying flags does not preserve the workload. Differences in output, protocol behavior and long-run sample retention also matter. Neither this relationship nor the projects' examples establish a comparative performance result.[2][3][4]

Capabilities & limitations

Focused HTTP load tests

supported

Request-count or duration operation with adjustable concurrency and HTTP/2.[2]

Simple HTTP endpoint benchmarks · Windows, macOS, Linux · Version, plan and platform requirements apply

1 source · check evidence
https://github.com/rakyll/hey/blob/master/README.md

Worker-level QPS, duration/request count, HTTP2 and platforms

vendor · checked 2026-10-07

Rate limiting

limited

QPS limit applies per worker rather than globally.[2]

Simple HTTP endpoint benchmarks · Windows, macOS, Linux · Version, plan and platform requirements apply

1 source · check evidence
https://github.com/rakyll/hey/blob/master/README.md

Worker-level QPS, duration/request count, HTTP2 and platforms

vendor · checked 2026-10-07

Unlimited detailed sample retention

unsupported

Inspected reporter retains at most one million successful-request sample entries.[3]

Simple HTTP endpoint benchmarks · Windows, macOS, Linux · Version, plan and platform requirements apply

1 source · check evidence
https://github.com/rakyll/hey/blob/master/requester/report.go

maxRes and bounded retained request samples

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

oha for Simple HTTP endpoint benchmarks

limited

Can replace compact endpoint benchmarks, but global versus per-worker QPS and output semantics must be reconciled.[2][4]

Windows, macOS, Linux · Version, plan and platform requirements apply

References

  1. hey license

    Apache License 2.0

    vendor · retrieved 2026-10-07
  2. hey documentation

    Worker-level QPS, duration/request count, HTTP2 and platforms

    vendor · retrieved 2026-10-07
  3. hey reporter implementation

    maxRes and bounded retained request samples

    vendor · retrieved 2026-10-07
  4. oha documentation

    Global QPS, protocol differences, terminal UI and output

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
2242026-10-10 15:35:50/* wbeditentity-create-item:0| */ sf:8e2e6f6a-5fcc-4a2a-b695-3fdff4c8604d:v1 | Add hey with cited product identity, workflow and portability boundaries; documentation research only. | attribution: /proposals/8e2e6f6a-5fcc-4a2a-b695-3fdff4c8604d