Google zaps Chrome updates with shrink ray, and there was much rejoicing
One of our perennial complaints about annoying apps like iTunes is the fact that they require us to reinstall the whole app every time there's an update. Apart from being annoying, it's inefficient.
Google seems to feel the same way, which has led Chrome/Chromium developers to implement a new binary diff algorithm (dubbed Courgette) which greatly reduces the size of its updates. Courgette delivers updates that are .08% the size of the Chromium mini installer (about 80Kb as opposed to 10Mb). In the official blog post, they state "It is an anathema to us to push out a whole new 10MB update to give you a ten line security fix." Can I get an Amen?
The blog also offers several reasons Google is excited about the new, Liliputian updates:
Google seems to feel the same way, which has led Chrome/Chromium developers to implement a new binary diff algorithm (dubbed Courgette) which greatly reduces the size of its updates. Courgette delivers updates that are .08% the size of the Chromium mini installer (about 80Kb as opposed to 10Mb). In the official blog post, they state "It is an anathema to us to push out a whole new 10MB update to give you a ten line security fix." Can I get an Amen?
The blog also offers several reasons Google is excited about the new, Liliputian updates:
We want smaller updates because it narrows the window of vulnerability. If the update is a tenth of the size, we can push ten times as many per unit of bandwidth. We have enough users that this means more users will be protected earlier. A secondary benefit is that a smaller update will work better for users who don't have great connectivity.Now if we could just convince other application developers to adopt this kind of attitude toward patching. I'm not going to hold my breath.













Comments
11
Subscribe to commentssrk998Jul 15th 2009 9:20PM
Amen.
ArnieJul 15th 2009 9:49PM
As a web developer I appreciate this, but realistically its extremely complex coding wise to implement this.
EvenioJul 15th 2009 10:27PM
Which is why someone needs to do what Andy Matuschak did for OS X app updaters with Sparkle: write a freely usable framework or utility that generates these tiny difference files for you and makes them available as updates to their respective apps. Take the legwork out of it and it'll become more appealing, and thus more widely implemented.
wrabbitJul 15th 2009 10:08PM
@Arnie: It may be complex but we're not dealing with amateurs here exactly. Every major developer should update to a similar system. Just the other day there was an iTunes update, apparently only a few bug fixes, yet the patch file was somewhere in the area of 70MB - that is absurd, and for a company that is suppose to be all about user experience, it's the furthest thing from user-friendliness.
blasztaJul 15th 2009 10:22PM
Amen..
@arnie: a good software developer should at least invest their time to learn it.. sometimes the problem is not they don't know how to do it, but they're too lazy to implement it.
RogueJedi86Jul 15th 2009 10:37PM
How does Chrome patch anyways? I keep it open for weeks without restarting the browser, and yet it's always up to date. I've never seen a notification of a new version. Does it stream patches into the browser software while it's still running?
motoxoJul 15th 2009 11:50PM
does this help them make chrome for os x?
WilJul 16th 2009 5:12AM
I don't know, wouldn't leave the code open to those with malicious intent? If you can just go in and add code I mean? I'm not a software developer but hopefully they have figured this out if it's even a concern/issue.
CesarJul 16th 2009 10:07AM
Amen!
Dave ForsterJul 16th 2009 1:15PM
Its not that difficult really.... just make your app very modular. If you take a look in the Chrome install directory you find it full of various dll's and js files. Any bug fixes or enhancements may only affect one of these files... so just roll that file out.
Plenty of software is updated using incremental updates... antivirus and spyware software for example. Microsoft have been doing this for years via Windows update (when was the last time you had to install windows from scratch because they tweaked a few things)
NathanielJul 16th 2009 6:46PM
Does anyone know what Chrome version this is effective in?