durusmail: durus-users: Question about object compression
Question about object compression
2006-03-31
2006-03-31
Question about object compression
Jesus Cea
2006-03-31
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using DURUS and my BerkeleyDB backend as a GIS repository. I store
tiled maps in the storage. I have about 50000 maps, of 500Kbytes each.
It works great. But since the images are stored compressed (PNG), I
would like to avoid the zlib inherent compression in Durus, for
performance reasons.

The issue are not the "permanent" maps but the temporal ones, like "on
the fly" maps with tracks layered over them, and things like that. I
would rather prefer to not compress an already compressed PNG generated
file.

Any "documented" option?.

I would like to be able to configure that, object by object. I'm aware
of "WRITE_COMPRESSED_STATE_PICKLES" attribute in "serialize.py", but I
would like to have a garantee of forward compatibility with future Durus
releases.

Thanks.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea@argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea@jabber.org         _/_/    _/_/          _/_/_/_/_/
                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRC2JCJlgi5GaxT1NAQLBQQQAlFCUX2nGs5Kpn5igSPNUBeRkf2AK1Q7h
TQfJBTw89iwTKWraNexmXm4Ei77o4WPzuL9UGlHL9cTLzTZlZFglKFKB5zjDG+Vy
9y/Vv4msk9jcvjxhsT5QNfVsMIYJyjXHqEmkrAuryqykiDk20LMTvDpjzKDeHJJb
IrMsfprn2xc=
=45sF
-----END PGP SIGNATURE-----
reply