-
Notifications
You must be signed in to change notification settings - Fork 864
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
DynamoDBContext BatchGet in Parallel #3592
Comments
@danny-zegel-zocdoc Thanks for opening the feature request.
Could you please elaborate the feature request with example and analysis which demonstrates above existing behavior? Are you using Thanks, |
I'm using using the async method, specifically The async code you linked appears to be the very code that shows the async batches are awaited in the while loop, i.e. in series, and not in parallel.
Yes one way of parallelizing the calls would be to collect the Thanks for considering this improvement. |
Needs review with the team. |
Describe the feature
Currently
DynamoDBContext
'sBatchGet
functionality will chunk requests with more keys than the DDB BatchGet limit into multiple requests which is great but it seems to process them in series. Ideally all the BatchGet chunks would be processed in parallel.Use Case
Using
DynamoDBContext
to perform aBatchGet
operation with more keys than the DDB BatchGet API allows.Proposed Solution
When using
DynamoDBContext
to BatchGet with many keys such that the SDK chunks the request into multiple API calls, invoke those calls in parallel instead of in series.Other Information
No response
Acknowledgements
AWS .NET SDK and/or Package version used
AWSSDK.DynamoDBv2
Targeted .NET Platform
.NET 8 and up
Operating System and version
N/A
The text was updated successfully, but these errors were encountered: