~ Auto Buzz ~: Google’s Brotli Offers Better Compression, Reduces OTA Size

Monday, 1 January 2018

Google’s Brotli Offers Better Compression, Reduces OTA Size



A recent benchmark test shows that Brotli, a compression algorithm developed by several employees of the search giant Google, offers better compression performance compared to other algorithms currently in use. This new algorithm is currently being used by the Mountain View-based tech company in an effort to further reduce the size of both over-the-air software upgrades and app files distributed by the firm’s Google Play Store.

To demonstrate the performance of Brotli, a compression benchmark test was conducted by Jeroen Ooms from OpenCPU.org, and it aims to compare the performance of Brotli with other popular compression algorithms, namely the GZIP, BZIP2, and XZ algorithms. The test is comprised of three benchmarks, which are the compression ratio, decompression speed, and compression speed tests. In the compression ratio test, Brotli significantly outperforms the other algorithms, with Google’s algorithm attaining a ratio of less than 0.3 while the other three algorithms were all able to achieve a compression ratio higher than 0.3. This means that using Brotli results in smaller compressed file sizes. In addition, Brotli performed almost as well as GZIP in the decompression test, a benchmark that tests how fast a client device, like smartphones, can open and decompress the file. However, Brotli showed relatively poor performance in the compression speed test. In fact, only XZ performed slower than Brotli, while BZIP2 and GZIP are leaps ahead of the other two algorithms.

Due to the poor compression speed performance of Brotli, it is not suitable for use in servers that handle dynamic content. However, the decompression and file size reduction capabilities of Brotli make it a good choice for compressing static files, like software upgrades. For example, Brotli enables a 50MB file size reduction of a LineageOS build for the Moto G4. Moreover, the sizes of apps downloaded from the Google Play Store also see significant decreases, with file sizes dropping by up to 20 percent. Another advantage of using Brotli is that it may reduce the installation time of an OTA update since the files are now decompressed faster. Reducing the size of software upgrades is also beneficial for Google since it will decrease the bandwidth consumed in disseminating app and OS updates. It is estimated that Google may save as much as 1.5 petabytes of bandwidth every day by simply switching to Brotli.

The post Google’s Brotli Offers Better Compression, Reduces OTA Size appeared first on AndroidHeadlines.com |.


【Top 10 Malaysia & Singapore Most Beautiful Girls】Have you follow?



Share This: