Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specification of latency distribution in HTTP/gRPC fault injection #196

Open
Tracked by #251
pablochacin opened this issue Jun 9, 2023 · 0 comments
Open
Tracked by #251
Labels
enhancement New feature or request needs evaluation issue needs evaluation to assess viability or impact

Comments

@pablochacin
Copy link
Collaborator

pablochacin commented Jun 9, 2023

Presently, only an average and variation can be specified for the latency introduced in the fault injection.
However, in most systems, latency follows a log normal distribution with a long tail that affects the percentiles 95 and 99 (common in most SLOs).

image

Therefore, it would be interesting to allow the user to control the shape of the latency in a more precise way.

This does not necessarily means explicitly defining the distribution of the latency to be introduced. Mostly because it is important to balance the expressiveness with the ergonomics in the API (very precise control of the distribution at the expense of a complex or error-prone API would result more harmful that useful)

Alternatively, specifying that only a fraction of requests will be affected by certain random latency could approximate the effect of having an increased latency for the long tail.

@pablochacin pablochacin added enhancement New feature or request needs evaluation issue needs evaluation to assess viability or impact labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs evaluation issue needs evaluation to assess viability or impact
Projects
None yet
Development

No branches or pull requests

1 participant