Migrate from gz compression to zstd for backups

zstd is pretty common now and compresses better and is faster than gz. Maybe it is worth changing to this for backups.

considering all the discourse instances around the world, this could be a big saver in disk and transfer.

Choosing Between gzip, Brotli and zStandard Compression | Paul Calvano.

3 Likes

I think this is actually a good idea. Putting a pr-welcome tag on this.

2 Likes

I’d be curious to know the average weight ratio between compressible and already compressed data in a Discourse backup[1], and how much data (in %) would be saved using zstd.

It’s not the same feature request, but it’s also about backup compression so I’m crossposting this:

I wouldn’t be surprised if the percentage was about the same on all my Discourse forums.


  1. Of course, some forums rely very much on image uploads, and some won’t even allow file uploads ↩︎