envoyproxy / envoyproxy/nighthawk

Allow configuration of server-side request latency distributions

Open
#102 0 comments 0 reactions 1 assignee Claimed by @tonya11en View on GitHub
Dominant language
C++
Stars
414
Forks
95
Avg merge
2d 9h
Merged PRs (30d)
11

Description

To test various behaviors for [certain Envoy filters](https://github.com/envoyproxy/envoy/issues/7789), it would be very handy to be able to specify request latencies with a weighted probability. This would allow us to observe the effect of tail latencies on filter behavior.

Something like this should work:
`--latency_distribution=zoned:3/1ms:1/4ms:1/20ms`

That would translate into:
- 3/5 of latencies should be 1ms
- 1/5 of latencies should be 4ms
- 1/5 of latencies should be 20ms

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.