Skip to content

Uniform request timing in each connection - #100

Open
martin-beran wants to merge 2 commits into
giltene:masterfrom
avast:request-timing
Open

Uniform request timing in each connection#100
martin-beran wants to merge 2 commits into
giltene:masterfrom
avast:request-timing

Conversation

@martin-beran

Copy link
Copy Markdown

When running with a large number of connections, for example, --connections=50, bursts of requests are generated. This patch adds command line option -u (--uniform). It replaces the fixed time of 5 ms between connects in a single thread by a value based on the requested rate, making requests more uniformly distributed in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant