perf: optimize DynamoDB client timeouts and retry config#408
Merged
perf: optimize DynamoDB client timeouts and retry config#408
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Optimizes DynamoDB client behavior by tuning HTTP timeouts per request phase and customizing the AWS SDK retry configuration, aiming to reduce hangs and improve performance/reliability for in-region calls.
Changes:
- Introduces a dedicated
newDynamoHTTPClient()with phase-specific transport timeouts and updated connection pooling settings. - Adds optional SDK retry logging via
LOG_SDK_RETRIES. - Configures a custom DynamoDB SDK retryer (attempts/backoff/rate limiting).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6838cb3 to
75d78ef
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
DJAndries
reviewed
Apr 29, 2026
DJAndries
reviewed
Apr 29, 2026
DJAndries
approved these changes
Apr 29, 2026
DJAndries
added a commit
that referenced
this pull request
Apr 29, 2026
* chore(deps): update dependency go to 1.26 (#402) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update public.ecr.aws/docker/library/golang docker tag to v1.26 (#403) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-go action to v6.4.0 (#400) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update module github.com/go-chi/chi/v5 to v5.2.5 (#399) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/checkout action to v6.0.2 (#411) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update golangci/golangci-lint-action action to v9.2.0 (#413) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update aws-sdk-go-v2 monorepo (#404) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add warning logs for items that exceed size limit (#414) * Add warning logs for items that exceed size limit * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * chore(deps): update alpine docker tag to v3.23 (#401) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * perf: optimize DynamoDB client timeouts and retry config (#408) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: mschfh <37435502+mschfh@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.