Feeds

Google open sources very slow compression algorithm

Your server will hate it but your mobe will love it

Designing a Defense for Mobile Applications

Google has open sourced a new compression algorithm called Zopfli that it says is a slower-but-stronger data squasher than the likes of zlib.

The product of Googler Lode Vandevenne's 20 per cent time, the day a week Google allows its staff to work on side projects, Zopfli is said to reduce files to sizes 3.7–8.3 per cent smaller than its rivals (PDF). The catch is that it takes one hundred times longer to do so.

Google's 'fessed up to that delay, noting that Zopfli requires two to three times the CPU power of its rivals and is therefore “best suited for applications where data is compressed once and sent over a network many times, for example, static content for the web.”

Over the years many have claimed to have created compression systems that cram data into wonderfully tiny bundles. Several have been revealed as scammers. So while Google has made only modest compression gains and has done so without time savings, eight per cent is still nothing to be sneezed at in applications like content delivery to mobile devices, where any reduction in the amount of time radios work means better battery life and lower bills for data consumption. And while Zopfli takes ages to pack data, it uses existing tools to unpack it at the same speed as rival algorithms, meaning no processing penalty on the device.

Open sourcing the algorithm therefore makes a lot of sense, given Google (and world+dog) is keen on getting more content into more mobile devices more often in more places, and that most everyone who owns a mobile device wishes it would do things faster.

And let's not forget the looming spectrum crunch predicted to send mobile data costs rising to unpleasant levels, a phenomenon a little more compression could ease.

Zopfli's code is available here. ®

Boost IT visibility and business value

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.