Skip to content

Apply HTTP connection tuning#638

Merged
hloeung merged 1 commit into
42wim:masterfrom
hloeung:connection-tuning
Jun 26, 2026
Merged

Apply HTTP connection tuning#638
hloeung merged 1 commit into
42wim:masterfrom
hloeung:connection-tuning

Conversation

@hloeung

@hloeung hloeung commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

We're setting &http.Transport{}, we lose the various defaults from http.DefaultTransport.Clone(). But also, per https://antonz.org/default-transport/, let's not use RoundTripper from DefaultTransport and set our own.

Use golang/go#39299 as a baseline.

Bump MaxIdleConnsPerHost to 10 from the default of 2.

Upstream matterbridge/matterclient#9

We're setting &http.Transport{}, we lose the various defaults from http.DefaultTransport.Clone().
But also, per https://antonz.org/default-transport/, let's not use
RoundTripper from DefaultTransport and set our own.

Use golang/go#39299 as a baseline.

Bump MaxIdleConnsPerHost to 10 from the default of 2.

Upstream matterbridge/matterclient#9
@hloeung hloeung marked this pull request as ready for review June 26, 2026 23:43
@hloeung hloeung merged commit cae76c9 into 42wim:master Jun 26, 2026
4 checks passed
@hloeung

hloeung commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator Author

Should also help a little with the initial ramp up per #535 (comment)

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