These are chat archives for collectiveaccess/support

2nd
Jul 2018
naeemmuhammad
@naeemmuhammad
Jul 02 2018 08:15
Hi, Is it possible to put put pdf exports into background process? If yes, how can we configure it? We have to download a large number of records as a pdf but execution is timed-out, perhaps executing them in the background can solve this problem.
Kehan Harman
@kehh
Jul 02 2018 08:50
@naeemmuhammad experiment with using the wkhtmltopdf method of generating PDFs - we've found it to be many times faster than DOMPDF (and also supports modern HTML5 / CSS3). Then maybe you won't have to set the timeout for the download?
naeemmuhammad
@naeemmuhammad
Jul 02 2018 09:36
@kehh we are already using wkhtmltopdf, however it only reduces the time it takes to generate the pdf itself. Indeed Dompdf took a large time to generate a pdf as compared to wkhtmltopdf tool. Regardless of the time taken by pdf generation tool, the time it takes to create input file (a html file) for pdf generation tool is quite high. A search result of about 800 record for example times out with wkhtmltopdf. And it fails before it passes html file to wkhtmltopdf tool.
CollectiveAccess
@collectiveaccess
Jul 02 2018 13:23
@naeemmuhammad No you can't background them. It's possible to do, but we have not implemented it.
naeemmuhammad
@naeemmuhammad
Jul 02 2018 13:43
@collectiveaccess Ok, can we request (in Jira) that as a new feature for upcoming versions?
CollectiveAccess
@collectiveaccess
Jul 02 2018 14:51
@naeemmuhammad Yes of course
Sean A.
@ColonelSanderson
Jul 02 2018 23:45
@gautiermichelin As I recall the big PaaS providers are on par, possibly a little more expensive than a virtual server. As you mention, you have to do your own risk assessment on their infrastructure and where I work, we extensively use the other products on the platform (storage, serverless compute, db, notifications, etc)
so it's cost efficient in that sense.