Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: use separate HTTP clients in scale test load generators#21288

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
spikecurtis wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromspike/scaletest-duplicate-clients

Conversation

@spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedDec 16, 2025
edited
Loading

While scale testing, I noticed that our load generators send basically all requests to a single Coderd instance.

e.g.

image.png

This is because our scale test commands create allRunners using the same codersdk Client, which means they share an underlying HTTP client. With HTTP/2 a single TCP session can multiplex many different HTTP requests (including websockets). So, it creates a single TCP connection to a single coderd, and then sends all the requests down the one TCP connections.

This PR modifies theexp scaletest load generator commands to create an independent HTTP client perRunner. This means that each runner will create its own TCP connection. This should help spread the load and make a more realistic test, because in a real deployment, scaled out load will be coming over different TCP connections.

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@spikecurtisspikecurtis marked this pull request as ready for reviewDecember 16, 2025 10:18
@spikecurtisspikecurtisforce-pushed thespike/scaletest-duplicate-clients branch fromd76fd80 to0369e8dCompareDecember 16, 2025 10:20
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@kacpersawkacpersawAwaiting requested review from kacpersaw

At least 1 approving review is required to merge this pull request.

Assignees

@spikecurtisspikecurtis

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@spikecurtis

[8]ページ先頭

©2009-2025 Movatter.jp