Page MenuHomeSoftware Heritage

ObjStorage: compression pass-through
Closed, MigratedEdits Locked

Description

If we want to retrieve compressed objects from the objstorage, we don't want to pay the cost of multiple compression/decompression along the way. We need a way to pass-through the compression, whether that's done transparently with Accept-Encoding, or by just sending the compressed blobs directly.

The API should be compression aware, so that you can choose whether to retrieve a compressed or uncompressed blob.