Replies: 2 comments 1 reply
-
because the naming is different, could you please help me to write down the same configuration based on this article I think the comparison is: I am not sure about the following: Do you mind when you have time to make a comparison officially? |
Beta Was this translation helpful? Give feedback.
-
For anyone else curious about this question, please see these related issues and the discussions on them:
The SDK had a bug where it would not retry timeout errors. We're investigating the best way to make retry behavior more configurable. |
Beta Was this translation helpful? Give feedback.
-
Hello AWS Team,
I am wondering if you can share some insights like this article:
https://aws.amazon.com/blogs/database/tuning-aws-java-sdk-http-request-settings-for-latency-aware-amazon-dynamodb-applications/
I noticed, for example, that the Latency to DynamoDB is usually under 20ms but sometimes goes up to 200ms on the GetItem(pk and sk), and I would like to put a limit and make retries.
I am not sure that the retry is even considered because it throws 2ms after the first maximum duration.
For example, the timeoutAPI, if I set it to 30ms, I get a Duration: 32.83 ms:
SdkError("request has timed out: API call (single attempt) timeout occurred after 30ms")
This is the code:
Could you please help me to understand how to set the parameters?
I would like to achieve
“Reduce the request timeout settings: Tune the client SDK parameters requestTimeOut and clientExecutionTimeout to timeout and fail much faster (for example, after 50 milliseconds). This causes the client to abandon high latency requests after the specified time period and then send a second request that usually completes much faster than the first”
Is it possible to do it with Rust?
Thanks
Dan
Beta Was this translation helpful? Give feedback.
All reactions