[rt-devel] RT::Extension::ExternalStorage

Emmanuel Manganneau emanganneau at easter-eggs.com
Tue Sep 1 04:03:37 EDT 2015



Le 01/09/2015 09:16, Alex Vandiver a écrit :
> On Tue, Sep 01, 2015 at 08:08:38AM +0200, Emmanuel Manganneau wrote:
> ExternalStorage move sdata out of the database as soon as it is
> successfully stored externally.  It is not kept in the database, and

You're right, I re-checked the code and saw that I missed this :

my $__DecodeLOB = __PACKAGE__->can('_DecodeLOB');
*_DecodeLOB = sub {

so I thought data access was from the db.

> the database does not need to be vacuumed.  The initial storage in the
> database is needed to ensure durability of the data, in case of file
> permission failure, or network failure (in the case of the cloud
> storage options).

I see. I must admit this is quite elegant.


> It also does de-duplicate files, so I'm unclear what you mean by that
> point.

If data was kept inside db, files would have been stored twice and 
de-duplication in the file system would not have meant db deduplication 
(am I clear ?) : but I was wrong.

Maybe I will try to contribute to ExternalStorage instead of 
reinveinting the wheel...

-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
emanganneau at easter-eggs.com     -   http://www.easter-eggs.com


More information about the rt-devel mailing list