We recently purchased the Startup license for Aspose.PDF Cloud. We are globally very satisfied with it, but we figured out that when we send a certain number of requests one after the other in a short amount of time, we get a Timeout error.
To be precise, the exception message is:
The
operation has timed out
Are there any limitation in the number of requests that we can send per second/minute/hour?
There is no restriction on number of requests; you can send as many as you want. Neither we have experienced this issue nor it has been reported by other customers. Can you please share your code to let us inspect if there is any issue with the code?
Please also share your App SID and key. You can share your credentials via private message.
Thanks for replying. Please find the code attached in CodeApose.cs file.
We stated that after sending the 8th file, we got this exception.
Just FYI, this is used in the context of an Azure Worker Role. The Worker Role is responsible for extracting text from PDF files and processing it. There can be multiple threads (potentially a lot depending on the size of the instance). Currently, the size of the instance is small, so there can be not more than 4 threads running at the same time, meaning that we can potentially have 4 requests sent at the same time.
Also, on one thread, we process only one file at a time. Let me know if you have any question regarding the logic.