The size of the 4.3.4 release package (mongodb-linux-x86_64-enterprise-rhel62-4.3.4.tgz) is 120 mb. When testing the driver, we download this package in each evergreen build. This is quite speedy in the office (and I imagine in evergreen) but when I am working from home, my transfer rate is closer to 3 mb/s rather than 30 mb/s that I get in the office. At 3 mb/s it takes 40 seconds to download the package.
As an experiment I compressed the tarball with `xz` and `xz -9`, using the following commands:
The results are:
The package compressed with `xz -9` is 40% of the size of gzip-compressed package. A 70 mb reduction in size would mean a 23 second reduction in download time at 3 mb/s.
Extraction times for the three packages are as follows:
Interestingly it takes less time to extract at compression level 9 than at the default level. It only takes 1.5 more seconds to extract lzma level 9-compressed package compared to the gzip package.
I think it will be beneficial if the server provided lzma-compressed packages in addition to the gzip-compressed ones.