Google announced Google Play store improvements focused on the size of updates. A new delta algorithm, bsdiff, has been rolled out to further reduce patches for apps and games.Mobile users are sensitive to the amount of data they use, especially when Wi-Fi is not available. Google is thus trying to reduce the data required for Google Play app installs and updates, as well as make data cost clearer to users.
Google Play’s New Delta Algorithm Reduces Size of Android App Updates :
Google says that for approximately 98 percent of app updates from the Play Store, only deltas to APK files (the changes between the current version and the new versions) are downloaded and merged with the existing files, reducing the size of updates and thus how much data is downloaded. The new algorithm produces more efficient deltas of native libraries by taking advantage of the specific ways in which compiled native code changes between versions.Bsdiff reduces patches “by up to 50 percent or more” compared to the previous algorithm. Yes, that estimate is nonsensical. In short, sometimes the algorithm is just a little better than its predecessor, and sometimes it’s a lot better:
An example from Chrome:
Patch Description Previous patch size Bsdiff Size
M46 to M47 major update 22.8 MB 12.9 MB
M47 minor update 15.3 MB 3.6 MB
Apps that don’t have uncompressed native libraries can see a 5% decrease in size on average, compared to the previous delta algorithm.
The algorithm is also now being used on APK Expansion Files, which allows you to include additional large files up to 2GB in size with your app or game. On average, this reduces the download size of initial installs by 12 percent and updates by 65 percent.
Google Play will now show actual download sizes, not APK file sizes. If you already have an app, you will only see the update size.In May, at the company’s I/O 2016 developer conference, Google unveiled a slew of new developer features for Google Play. Today’s improvement is one both users and developers are sure to benefit from immediately.