Hi,

The FileDataStore is not optimized for that case. Patches would be welcome!

Please note in Oak, there is a new content addressable storage
(FileBlobStore) that does not have those problems: it doesn't create temp
files because it splits binaries into chunks of 2 MB (configurable).

Regards,
Thomas





On 24/03/15 14:39, "hsp" <[email protected]> wrote:

>The class org.apache.jackrabbit.core.data.FileDataStore uses
>apache.IOUtils
>to send a file to the filesystem. In my case this is done using a NFS
>resource mapped to a NAS directory.
>Would the digest (SHA-1) calculation be done in local tmp instead a remote
>tmp (in my case) be faster?
>And, instead use IOUtils, use the java.nio to transfer in blocks (better
>than stream...)?
>
>Any thougths? 
>Thanks in advanced.
>Helio.
>
>
>
>--
>View this message in context:
>http://jackrabbit.510166.n4.nabble.com/File-persistence-with-NAS-NFS-tp466
>2164p4662169.html
>Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to