Allow for timeout via SDK/API when experiencing long response times
MatthewTafazoli opened this issue · comments
Is your feature request related to a problem? Please describe.
When issuing requests to Azure's Computer Vision, occasionally there is a lot of latency in the response.
Describe the solution you'd like
In the case of long response times, we would like to use the SDK to issue a timeout for the request.
Describe alternatives you've considered
Unsure about other possible solutions regarding this issue
Additional context
I have attached graphs of both our VisionAPI Latency and Computer Vision Latency at an instance where the Latency spikes ( To clarify: the graphs shifts as time passes, so the spike being located at the beginning of the graph is not associated with a cold start)
The following graphs were generated via Datadog for reference
Also, I should note that we are executing the requests as laid out in the following documentaiton:
https://learn.microsoft.com/ja-jp/azure/ai-services/computer-vision/how-to/call-analyze-image-40?pivots=programming-language-python
Hello! I was just wondering if there was any feedback or movement on this topic? I know everyone is very busy, so I understand it might be hard to get to this