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
Support injecting random delay when clients connect via DelayOnEvent #1701
Comments
Castaglia
added a commit
that referenced
this issue
Aug 16, 2023
…connection, at connect time, even as a range of jittered values.
Castaglia
added a commit
that referenced
this issue
Aug 16, 2023
…connection, at connect time, even as a range of jittered values.
Castaglia
added a commit
that referenced
this issue
Aug 16, 2023
…connection, at connect time, even as a range of jittered values.
Castaglia
changed the title
Inject random delay when clients connect via DelayOnEvent
Support injecting random delay when clients connect via DelayOnEvent
Aug 16, 2023
Castaglia
added a commit
that referenced
this issue
Aug 16, 2023
…connection, at connect time, even as a range of jittered values.
Castaglia
added a commit
that referenced
this issue
Aug 17, 2023
Issue #1701: Implement support for injecting delay at the start of a …
This feature is now available in |
Castaglia
added a commit
that referenced
this issue
Aug 18, 2023
… whose minimum value is zero, then we should honor that, not ignore it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, it is possible to inject delays at certain points during the lifecycle of a session via the
DelayOnEvent
directive from themod_delay
module. The scope of this feature request is to allow injecting delays, in a similar manner, to the very start of session, such as when it connects.There are some busy sites where many clients connect in a very short period of time. It can be beneficial to spread the handling of those client connections out over a larger time window. By injecting delays at the start of the session, such spreading out can be achieved server-side.
In addition, we will want to inject a random (or jittered) amount of time, so that different clients get different delays. Currently, the
DelayOnEvent
directive expects a static single amount of time; for our use case, being able to configure a range of time, min/max, is more useful. The module would then randomly select a value from within that range to use as the delay duration.The text was updated successfully, but these errors were encountered: