deltachat-core-rust icon indicating copy to clipboard operation
deltachat-core-rust copied to clipboard

feat: compress backups with gzip

Open link2xt opened this issue 1 year ago • 3 comments

link2xt avatar Oct 24 '24 22:10 link2xt

I exported backup with this and got backup file of 2775587230 bytes. Unpacked it is 3326787584 bytes, so saved 15%. Not very helpful because most blobs are not compressible, but still, 500 MB is not nothing. Did not measure how much slower it is with compression, but for backup export waiting a bit is fine. For over-the-network backup transfer it seems adding compression is not worth it.

zstd with default settings saved 50 MB more, so gzip is good enough and does not add additional dependencies. We already have the same compression for IMAP COMPRESS (gzip is deflate + some header and trailer).

link2xt avatar Oct 25 '24 01:10 link2xt

it seems adding compression is not worth it.

unless we allow to import over internet

adbenitez avatar Oct 29 '24 18:10 adbenitez

Let's wait until 1.50 releases are out.

link2xt avatar Dec 03 '24 00:12 link2xt