[Users] veraPDF and thread-safeness?
boris.doubrov at duallab.com
Wed Nov 8 10:13:07 GMT 2017
We do have already the functionality of storing temp files (or rather decoded chunks of data) in memory up to a certain limit, and moving them to the temp files above this limit.
At the moment the limit is quite low (10K or so) and is a constant in the code. We’ll open this parameter to the library configuration, so that the user would be able to control this.
From: Tony Schaller [mailto:tony.schaller at medshare.net]
Sent: Tuesday, November 7, 2017 11:39 AM
To: Boris Doubrov <boris.doubrov at duallab.com>; users at lists.verapdf.org
Subject: AW: veraPDF and thread-safeness?
Thanks a lot for your message and your offer!
We definitely appreciate a dev version and we therefore also will feed back our test results.
Please take in account that temp. files in my opinion are problematic for thread safeness. On the other hand big pdfs are problematic for memory consumption. Therefore it was perfect, if one can configure the veraPDF validation engine whether one would have seamless validation by streams (without creation of temp. files) or if one would like to reduce memory usage and therefore allow temp files. Anyway, the temp folder should be configurable in order to respect access right policies (i.e. when used on servers).
Von: Boris Doubrov [mailto:boris.doubrov at duallab.com]
Gesendet: Montag, 6. November 2017 11:05
An: Tony Schaller <tony.schaller at medshare.net<mailto:tony.schaller at medshare.net>>; users at lists.verapdf.org<mailto:users at lists.verapdf.org>
Betreff: RE: veraPDF and thread-safeness?
The performance and the memory optimization are our primary targets this and the next release. The coming release (1.10) will include a lot of memory optimization and significantly better performance in case of large test documents.
Thread-safeness is in the plans for the next release expected in first quarter of 2018. But if you are interested, we would be able to provide the dev version for tests a bit earlier (end of December or beginning of January).
From: Users [mailto:users-bounces at lists.verapdf.org] On Behalf Of Tony Schaller
Sent: Monday, November 6, 2017 10:48 AM
To: users at lists.verapdf.org<mailto:users at lists.verapdf.org>
Subject: Re: [Users] veraPDF and thread-safeness?
Thanks and kind regards,
Von: Tony Schaller
Gesendet: Montag, 30. Oktober 2017 15:32
An: 'users at lists.verapdf.org' <users at lists.verapdf.org<mailto:users at lists.verapdf.org>>
Betreff: veraPDF and thread-safeness?
We have integrated veraPDF validation-model 1.8.1 from the maven repo (https://mvnrepository.com/artifact/org.verapdf/validation-model) into the eHealth Connector Open Source project (see https://sourceforge.net/projects/ehealthconnector/). See https://sourceforge.net/p/ehealthconnector/wiki/CDA%20Validation/ for more information.
The eHealth Connector supports multithreading, but veraPDF seems not currently to be thread-safe.
Is there any plan for a thread-safe veraPDF validation-model?
Thanks in advance for any response.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users