# wrk2

Experimental wrk fork with constant\-throughput scheduling and histogram\-based latency accounting\.

ID: Q78 · Revision: 62

Type: software · License: Apache\-2\.0[^wrk2-license] · Status: unknown

Website: https://github.com/giltene/wrk2



wrk2 is an HTTP benchmarking fork of wrk that adds constant\-throughput scheduling and latency measurement based on intended request times\. Its documented goal is to reduce coordinated\-omission distortion when slow responses interfere with the planned workload\.[^wrk2-readme]

## Capabilities and substitutions

### Constant\-throughput scheduling — supported

Adds an overall request\-rate target and planned\-send\-time latency accounting\.[^wrk2-readme]

Use case: Controlled\-rate HTTP latency benchmarking · Platforms: epoll/kqueue\-based systems · Region: Version, plan and platform requirements apply

### Lua API compatibility — limited

Retains wrk's API but emulates sample access using histogram percentiles\.[^wrk2-readme]

Use case: Controlled\-rate HTTP latency benchmarking · Platforms: epoll/kqueue\-based systems · Region: Version, plan and platform requirements apply

### Very short or sub\-millisecond measurements — limited

Documented calibration and approximate millisecond granularity constrain interpretation\.[^wrk2-readme]

Use case: Controlled\-rate HTTP latency benchmarking · Platforms: epoll/kqueue\-based systems · Region: Version, plan and platform requirements apply

### [Substitute for wrk](/wrk) — limited

Can replace controlled\-rate benchmark workflows with planned\-time latency accounting; measurement semantics and calibration differ\.[^wrk2-readme][^wrk-readme]

Use case: Controlled\-rate HTTP latency benchmarking · Platforms: epoll/kqueue\-based systems · Region: Version, plan and platform requirements apply

## References

[^wrk2-license]: [wrk2 license](<https://github.com/giltene/wrk2/blob/master/LICENSE>) — Apache License 2\.0 (vendor; retrieved 2026-10-07T11:21:10Z)

[^wrk2-readme]: [wrk2 documentation](<https://github.com/giltene/wrk2/blob/master/README.md>) — Constant throughput, planned\-time latency and calibration limits (vendor; retrieved 2026-10-07T11:21:26Z)

[^wrk-readme]: [wrk documentation](<https://github.com/wg/wrk/blob/master/README.md>) — Thread/connection model and scripting overhead (vendor; retrieved 2026-10-07T11:20:49Z)

[^wrk-scripting]: [wrk Lua scripting API](<https://github.com/wg/wrk/blob/master/SCRIPTING>) — Independent thread environments, request callbacks and errors (vendor; retrieved 2026-10-07T11:20:59Z)

Source revision: https://substitutefor.net/entities/Q78?revision=62
