Javascript SDK set Request and Execution Timeouts for AWS Evidently #4342
Unanswered
aderusha-chwy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set the request and execution timeouts for AWS evidently requests using Javascript SDK. On https://aws.amazon.com/blogs/database/tuning-aws-java-sdk-http-request-settings-for-latency-aware-amazon-dynamodb-applications/ is mentioned that the Java SDK has the ability to set the Connection, Socket, Request, and Execution timeouts.
However, I'm following https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Evidently.html for the Javascript SDK Evidently documentation and the only timeouts referenced are the Connection timeout (
connectTimeout
) and Socket timeout (timeout
). This causes an undesired state when the requests are taking longer than I want. e.g. I want to set a 600ms Execution timeout through:But when doing the following, some of the logs I get are
[AWS evidently 200 1.091s 0 retries] batchEvaluateFeature(...
where the single request, without timeouts, is taking longer than I want and not timing out after 600ms.My question is, is there a way to set the Request and Execution timeout for Evidently requests using the Javascript SDK? Did I happen to miss something in the documentation or am not setting it correctly? Appreciate the help!
Beta Was this translation helpful? Give feedback.
All reactions