Help Center/ Optical Character Recognition/ FAQs/ API/ What Is the Number of Concurrent OCR API Calls?
Updated on 2022-10-10 GMT+08:00

What Is the Number of Concurrent OCR API Calls?

OCR is a public cloud service that offers resources sharable to all online users. The number of concurrent API calls is dynamically adjusted based on the call requests of online users.

If the number of concurrent API calls is insufficient during peak hours, you can use either of the following methods:

  • Use the retry mechanism to rectify the fault by checking the return value in the code and retrying the requests after a short period of time (for example, 2 to 5 seconds).
  • Alternatively, check whether the results of the previous request were returned at the backend. If they were, send the next request. This helps prevent excessively frequent requests.

If you need more concurrent API calls, especially continuous concurrent API calls, contact your Huawei Cloud customer service and describe your application scenarios and concurrency requirements in detail.