My Oracle Support Banner

Slow Response From Documaker When Using DWS (Doc ID 2688367.1)

Last updated on JULY 09, 2020

Applies to:

Oracle Documaker - Version 12.6 and later
Information in this document applies to any platform.

Goal

On : 12.6 version, Enterprise Edition


The response time from DWS is taking much longer than the time the transaction is taking to finish.

When making a request to documaker through doPublishFromImport with responseType set to Attachments, the response is taking 14 seconds, but if we look at the JOBS or TRNS table we can see that the transaction finished with no more than 3 seconds.

I took a jvisualvm snapshot of the "receiver" process and found the culprit, in the handleRequestV1 method, there is a call to the encode method on the Encoder class, which in turn calls the write method from BASE64EncoderStream. It seems that it writes the base64 file to the disk and it is taking too long, the reason was because of the OS auditd process that was recording every write call to the disk, disabling it made the time go down from 12sec to 6sec.

Now I can see on the response from documaker that the server time is 4sec and service time is 6sec. So now the biggest time consuming process is probably the conversion running on the transaction.

Is there anyway we can improve this time?


 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.