Feeds

Google open sources very slow compression algorithm

Your server will hate it but your mobe will love it

Build a business case: developing custom apps

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. ®

The essential guide to IT transformation

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Microsoft cries UNINSTALL in the wake of Blue Screens of Death™
Cache crash causes contained choloric calamity
Munich considers dumping Linux for ... GULP ... Windows!
Give a penguinista a hug, the Outlook's not good for open source's poster child
Time to move away from Windows 7 ... whoa, whoa, who said anything about Windows 8?
Start migrating now to avoid another XPocalypse – Gartner
You'll find Yoda at the back of every IT conference
The piss always taking is he. Bastard the.
HANA has SAP cuddling up to 'smaller partners'
Wanted: algorithm wranglers, not systems giants
prev story

Whitepapers

Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Solving today's distributed Big Data backup challenges
Enable IT efficiency and allow a firm to access and reuse corporate information for competitive advantage, ultimately changing business outcomes.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.