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

Improved DynamoDB Initialization Patterns #3103

Open
ashovlin opened this issue Nov 16, 2023 · 1 comment
Open

Improved DynamoDB Initialization Patterns #3103

ashovlin opened this issue Nov 16, 2023 · 1 comment

Comments

@ashovlin
Copy link
Member

ashovlin commented Nov 16, 2023

We've released new ways to initialize the high-level DynamoDB clients in AWSSDK.DynamoDBv2 3.7.203. You can now provide the table's key and index structure in code, which allows the SDK to skip the implicit DescribeTable call that can lead to issues with cold-start latency, throttling, and thread-pool exhaustion.

This offers a workaround for #1476 and has been discussed there, but pinning an announcement here as well to help spread the word.

We encourage you to try the new TableBuilder for the document model and DisableFetchingTableMetadata for the object persistence model.

Resources:

@ashovlin ashovlin added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. Announcement and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 16, 2023
@ashovlin ashovlin pinned this issue Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@ashovlin and others