You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Mark Waschkowski <mw...@gmail.com> on 2007/08/16 17:57:28 UTC

blobs

Hi,

I noticed the thread below which talks about blobs being copied to the local
file system unnecessarily when using DbFileSystem, and since the system I'm
working on will be using blobs frequently and (you guessed it) uses
DbFileSystem, I was concerned:

http://www.mail-archive.com/users@jackrabbit.apache.org/msg01758.html

Jukka had mentioned:
"Unfortunately currently only file system based blob stores avoid this
copying."

Since loading of blobs can be a time consuming operation, would it be
worthwhile creating a Jira issue about optimizing the copying when using
DbFileSystem, or will be fixed as part of the patch
http://issues.apache.org/jira/browse/JCR-926 ?

Thanks,

Mark

Re: blobs

Posted by Stefan Guggisberg <st...@gmail.com>.
On 8/16/07, Mark Waschkowski <mw...@gmail.com> wrote:
> Hi,
>
> I noticed the thread below which talks about blobs being copied to the local
> file system unnecessarily when using DbFileSystem, and since the system I'm
> working on will be using blobs frequently and (you guessed it) uses
> DbFileSystem, I was concerned:
>
> http://www.mail-archive.com/users@jackrabbit.apache.org/msg01758.html
>
> Jukka had mentioned:
> "Unfortunately currently only file system based blob stores avoid this
> copying."
>
> Since loading of blobs can be a time consuming operation, would it be
> worthwhile creating a Jira issue about optimizing the copying when using
> DbFileSystem, or will be fixed as part of the patch
> http://issues.apache.org/jira/browse/JCR-926 ?

using a global data store for binaries (as suggested in JCR-926) would allow
for deferred/on-demand spooling of the binary property value (e.g. when
calling Property.getStream()). however, i am not sure if the attached patch
makes use of this.

cheers
stefan


>
> Thanks,
>
> Mark
>