incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Manzke <daniel.man...@googlemail.com>
Subject Re: Sharing (maybe) useful experience to benefit DM
Date Fri, 15 Jun 2012 17:34:02 GMT
+1 for making GZIP configurable.

We have integrated it into our FileStorageMemory. It is pretty easy,
because you can just wrap the streams. If you like to you could also add
encryption. ;)


Bye,
Daniel

2012/6/15 Tatu Saloranta <tsaloranta@gmail.com>

> On Thu, Jun 14, 2012 at 11:25 PM, Simone Tripodi
> <simonetripodi@apache.org> wrote:
> > Hi all guys,
> ..
> >
> >  * We didn't think to apply a GZip compression - it is true that we
> > are working off-heap, but hopefully the allocated space can handle
> > more objects by compressing them
>
> Gzip is VERY CPU intensive, so maybe just say "support compression".
> LZF/Snappy/LZ4 are 4-6x faster to compress, 2-3x to uncompress, so
> they could be better choices here.
> So at least it would make sense to allow pluggable compression codecs.
>
> -+ Tatu +-
>



-- 
Viele Grüße/Best Regards

Daniel Manzke

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message