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 more connection reuse for DynamoDB and S3 calls #2268

Merged
merged 1 commit into from
Mar 16, 2020

Conversation

bboreham
Copy link
Contributor

What this PR does:
We will connect many times in parallel to the same DynamoDB server, and with default settings Go will close and re-open connections; see golang/go#13801

Raise MaxIdleConnsPerHost to avoid this.

Checklist

  • CHANGELOG.md updated

@bboreham bboreham force-pushed the dynamodb-reuse-connections branch from 419bdf3 to 87c4689 Compare March 13, 2020 09:30
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just left a nit.

We will connect many times in parallel to the same DynamoDB server,
and with default settings Go will close and re-open connections; see
golang/go#13801

Raise MaxIdleConnsPerHost to avoid this.

Signed-off-by: Bryan Boreham <bryan@weave.works>
@bboreham bboreham force-pushed the dynamodb-reuse-connections branch from 87c4689 to e2b66cc Compare March 16, 2020 09:34
@bboreham bboreham merged commit acc42ab into master Mar 16, 2020
@bboreham bboreham deleted the dynamodb-reuse-connections branch March 20, 2020 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants