cubicweb #601250 Optional compression of Binary fields [open]

We found on the Pylos project that compression of BLOBS (using zlib) can lead to significant performance improvement in CW. This is currently done manually in Pylos when writing / reading the BLOB, but this could be done transparently by CW.

This could be achieved by providing a keyword argument compressed=True/False to the Bytes type in the schema (which would be False by default). Data stored in this attribute would be transparently compressed/decompressed when written to / read from the database.

prioritynormal
typeenhancement
done in<not specified>
closed by<not specified>