Adobe Document Services performance issues
Hi all,
I'm exploring Adobe Document Services as a template based option for generating PDF reports. So far, I've been very happy with the template creation plugin and how it all comes together with
documentMergeOperation.Execute(executionContext);
is taking 5-10 seconds when executed from an extremely light .NET core console application. I wouldn't consider the DTO for this report to be complex enough to merit the execution time: 3 nested objects, 1 image base 64 encoded, 1 collection with 3 elements, and a dozen more string/DateTime properties. The template is basically just a single page with mostly text tags, 1 image, and a table.
Our .NET Core application is running document services from an installed package, rather than through Adobe Cloud Services. We are not able to send our DTOs to ACS due to security requirements. Currently, we run documentMergeOperation.Execute on a single DTO + template (we're in the proof of concept stage). I'm planning to explore runtime on different DTO's, templates, and # of reports produced, but haven't yet.
I'm assuming that Execute awaits credential verification via web request, and maybe that's where some of this long runtime is coming from. I don't see any way to cache or re-use this verification between requests, but maybe that happens automatically under the API's hood.
Has anyone else dealt with runtime issues around the Document Services API? Does anyone have any suggestions for how we might improve runtime? 5-10 seconds runtime per doc will make scaling a PDF generation service difficult.
I appreciate any help or similar experiences!
Max
