-
Notifications
You must be signed in to change notification settings - Fork 875
Description
Describe the bug
Bumping AWSSDK.SSO from version 4.0.1.3 to 4.0.1.6 and AWSSDK.SSOIDC from version 4.0.2 to 4.0.2.3 has resulted in frequent spikes when calling DynamoDb.
We have fixed the issue by reverting back to versions 4.0.1.3 and 4.0.2.3.
The spikes seemed to mainly effect queries that were querying GSIs. No throttle exceptions were logged inside the DynamoDb console. The query was searching on the primary & secondary keys so response times upwards of 20 seconds are not expected.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
DynamoDb queries do not result in frequent spikes.
Current Behavior
Querying GSIs result in frequent spikes. Example from an Xray trace - a batch of 9 queries running in parallel results in two taking 30 seconds:
Reproduction Steps
Use the following packages:
AWSSDK.SSO:4.0.1.6AWSSDK.SSOIDC:4.0.2.3AWSSDK.DynamoDbv2:4.0.6.3
Query a GSI using a PK & SK lookup in a Parallel.ForeachAsync() with a MaxDegreeOfParalllelism of 32
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.SSO:4.0.1.6AWSSDK.SSOIDC:4.0.2.3AWSSDK.DynamoDbv2:4.0.6.3
Targeted .NET Platform
.NET 8
Operating System and version
AmazonLinux & Windows10