Azure AI Document Intelligence : Latency Issue

Sidharth Chauhan 25 Reputation points
2024-07-09T07:01:31.3366667+00:00

I am using the Node SDK of @azure/ai-form-recognizer in my project and am experiencing latency issues. While debugging with New Relic, I found transaction traces related to formrecognizer/documentModels. Within these traces, there are internal calls made by the Node SDK, and I identified two calls to timers.setTimeout, each taking approximately 5 seconds.

I would like to reduce this timeout duration to improve the overall latency of our application. Below are the request IDs for your reference:

  • 35a361e2-eb60-4a79-b1a2-8e25b7613b4f
  • 3f835618-24ec-492b-9eb9-bca2bf0279c9

Could you please assist in understanding the source of these setTimeout calls and provide guidance on how to reduce this time?
Screenshot 2024-07-09 at 12.24.25 PM

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,724 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.