[ZODB-Dev] Build compression into ZODB 3.11?

Adam GROSZER agroszer.ll at gmail.com
Tue Mar 20 14:48:55 UTC 2012


Hello,

What about LZ4HC?
http://code.google.com/p/lz4hc/

On Tue, 20 Mar 2012 10:27:26 -0400 you wrote:
>
> On Thu, Mar 15, 2012 at 11:09 AM, Jim Fulton<jim at zope.com>  wrote:
>> On Wed, Mar 14, 2012 at 1:47 PM, Jim Fulton<jim at zope.com>  wrote:
> ...
>
>> At some point soonish, I'll do some
>> tests against a large database.
>
> On a database with 180 million records, 150 million of which
> are compressable:
>
>             Compressed        Compress      Uncompress
>             Size % of         time          time
>             uncompressed      microseconds  microseconds
> -------------------------------------------------------
> zlib        38                96           12.5
> lz4         52                7.4          1.6
> -------------------------------------------------------
>
> lz4 is an order of magnitude faster than zlib, however,
> lz4-compressed records were 36% larger.
>
> For me, I don't think the speedup is worth the loss of compression.
>
> Jim
>
> --
> Jim Fulton
> http://www.linkedin.com/in/jimfulton
> _______________________________________________
> For more information about ZODB, see http://zodb.org/
>
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> https://mail.zope.org/mailman/listinfo/zodb-dev
> .
>


-- 
Best regards,
  Adam GROSZER
--
Quote of the day:
Facts do not cease to exist because they are ignored.


More information about the ZODB-Dev mailing list