jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: On save/on retrieve compression/decompression
Date Tue, 14 Aug 2007 10:13:43 GMT
Hi,

On 8/10/07, Darren Hartford <dhartford@ghsinc.com> wrote:
> Just curious for thoughts on a feature as titled above, particularly
> anyone watching the list on the next JCR spec.
>
> Configure a repository/workspace to save files to the Filesystem/DB/etc
> with a specified compression algorithm (zip, gzip, bz2, etc).
>
> On retrieval, give the option/command to, by default, decompress and
> retrieve, or option/command retrieve compressed.
>
> This could be extended to encryption as well, but that gets complicated
> with multi-server systems.

Such a feature should be quite easy to implement with the current file
system abstraction and especially the future data store mechanism.
Such an implementation would be totally transparent to the client,
i.e. files would automatically be compressed/encrypted during save and
decompressed/decrypted during retrieval.

Then again, using a compressed/encrypted file system on the OS level
would probably serve the same purpose in a more optimized and failsafe
manner.

BR,

Jukka Zitting

Mime
View raw message