substitutefor

Contribute to the catalog

Improve wrk

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • hey — Focused HTTP endpoint benchmarking
  • wrk2 — Concurrent-connection HTTP load testing
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · wrk license

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · wrk documentation

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · wrk Lua scripting API

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · hey documentation

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · wrk2 workload and latency model

Source 5

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Threads, connections and duration

Section 1

Sources for paragraph 1
2 · Lua customization

Section 2

Sources for paragraph 1
3 · Measurement and scripting overhead

Section 3

Sources for paragraph 1
4 · Resources and license

Section 4

Sources for paragraph 1
5 · Substitution scope

Section 5

Linked to hey. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1

Linked to wrk2. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 2
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities3

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional · 6 answers

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

  • What does it offer?http benchmarking
  • What does it help people do?load test web services
  • What does it help people do?measure http latency
  • What does it work with?http
  • What does it work with?luajit
  • What else affects its suitability?command line interface
Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

wrk

Multithreaded HTTP benchmarking with configurable connections and LuaJIT callbacks.

Overview

wrk is a command-line HTTP benchmarking tool that combines multiple threads with event-driven network handling. It maintains a configured number of connections for a test duration and can use LuaJIT scripts to customize requests, responses and reporting.[2]

At a glance

What does it offer?
http benchmarking[2]
What does it help people do?
load test web services[2]; measure http latency[2]
What does it work with?
http[2]; luajit[2]
What else affects its suitability?
command line interface[2]

Threads, connections and duration

The primary configuration separates the total connection count from the number of worker threads and the length of the run. Reported output includes request throughput and latency statistics. This makes wrk useful for a focused endpoint benchmark, but a connection count is a description of the generator rather than a direct count of human users or a complete model of application traffic.[2]

Lua customization

Scripts can define setup, initialization, request, response and completion callbacks. Each worker has an independent scripting environment, while setup and completion use a separate environment. Request formatting and response inspection can support custom measurements, but shared state is not automatically available across every thread. Scripts need to respect those execution boundaries when combining results or assigning per-thread data.[3]

Measurement and scripting overhead

The scripting reference warns that building requests repeatedly and parsing response headers or bodies adds cost. Pre-generating requests can reduce that work, while omitting a response callback avoids unnecessary parsing. The result summary separately exposes connection, read, write, status and timeout errors. Comparing runs should therefore preserve the script and its callbacks, not just the target URL and connection count. The project says static changes to the method, path, headers or body do not add this overhead; the cost comes from per-request work such as building each request or parsing each response.[3]

Resources and license

The project notes that the generator needs enough ephemeral ports and that the target must handle the initial connection burst. Such infrastructure constraints can influence a benchmark independently of the application code being compared. The current repository labels its license Modified Apache 2.0, version 2.0.1; it should not be cataloged simply as an unmodified Apache-2.0 grant. Bundled components also have notices identified by the project.[1][2]

Substitution scope

wrk can substitute for hey for concise HTTP endpoint benchmarks where Lua request customization is useful. The tools expose different controls: hey documents a per-worker QPS cap, whereas wrk's core options emphasize threads, connections and duration. This is task overlap rather than interchangeable command syntax or identical load shape. A migration needs matched request behavior and error interpretation before throughput figures become comparable.[2][3][4]

wrk can substitute for wrk2 when the goal is an HTTP load test controlled by concurrent connections, threads and duration rather than a prescribed request arrival rate. Its Lua hooks can customize requests and reports, making it useful for that style of benchmark. This changes the experiment: wrk2 adds constant-throughput control and latency measurement against planned send times. Do not treat their latency distributions as interchangeable or use ordinary wrk results as proof of the same controlled-rate behavior.[2][5]

References

  1. wrk license

    Modified Apache 2.0 version 2.0.1

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

    Thread/connection model and scripting overhead

    vendor · retrieved 2026-10-07
  3. wrk Lua scripting API

    Independent thread environments, request callbacks and errors

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

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

    vendor · retrieved 2026-10-07
  5. wrk2 workload and latency model

    Constant-throughput option, planned-time latency measurement and relationship to wrk

    vendor · retrieved 2026-10-10
  6. https://github.com/wg/wrk/blob/master/README.md

    Thread/connection load model, test duration and LuaJIT scripting

    assessment · retrieved 2026-10-10

Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.