Skip to main content
Participant
July 25, 2022
Question

Slow rendering from Document Services API's

  • July 25, 2022
  • 1 reply
  • 377 views

Hello,

We are having problems with periodic times of slow service. Since these are not individual outliers, but all conversion requests are taking minutes, we don't think it is due to the documents been converted at the time.
We see that conversion might take like 20 sec to 35 sec on average (we see ranges of 1 min up to 3 mins if we use more conversions inside an API). As we are currently increasing the traffic we send to using the PDF conversion, we would like to ensure these wait times can be reduced by 2-5 secs.

 

We are using DocumentMergeOperation and CombineFilesOperation in the same API as per our requirement.

Could you help us understand what might be the reason for this?

Thank you.

This topic has been closed for replies.

1 reply

Ben Vanderberg
Community Manager
Community Manager
July 26, 2022

There are a lot of variables that can go into your performance:

  • Your source documents. Some while may seem simple can be difficult to process. Images, fonts are all factors in this.
  • Connection: Because you are uploading documents and then processing them, size of documents and the bandwidth of your application can be a factor. Data centers are in the US, and if you are connecting internationally, there may be more latency.

 

In regards to DocumentMergeOperation (or what we will call Document Generation API) has two processes: it generates the Word document and converts it to PDF. You will find that converting to a Word document can be faster.

 

Several improvements will be coming to the service soon, such as transient documents that multiple actions can be applied, which may improve your performance.