Software Updates: Courgette (Chromium Developer Documentation)
july 2009 by avantbard
How Google Chrome updates itself. This is mostly over my head but just seriously cool.
"Rather than push put a whole new 10MB update, we send out a diff that takes the previous version of Google Chrome and generates the new version. We tried several binary diff algorithms and have been using bsdiff up until now. We are big fans of bsdiff - it is small and worked better than anything else we tried.
But bsdiff was still producing diffs that were bigger than we felt were necessary. So we wrote a new diff algorithm that knows more about the kind of data we are pushing - large files containing compiled executables."
chrome
chromium
update
diff
binary
patch
courgette
bsdiff
"Rather than push put a whole new 10MB update, we send out a diff that takes the previous version of Google Chrome and generates the new version. We tried several binary diff algorithms and have been using bsdiff up until now. We are big fans of bsdiff - it is small and worked better than anything else we tried.
But bsdiff was still producing diffs that were bigger than we felt were necessary. So we wrote a new diff algorithm that knows more about the kind of data we are pushing - large files containing compiled executables."
july 2009 by avantbard
related tags
apple ⊕ binary ⊕ browser ⊕ bsdiff ⊕ chrome ⊖ chromium ⊕ coffeescript ⊕ courgette ⊕ css ⊕ debugging ⊕ diff ⊕ encryption ⊕ extension ⊕ firefox ⊕ google ⊕ html ⊕ inspector ⊕ javascript ⊕ js ⊕ keyboard ⊕ mac ⊕ memory ⊕ memoryleak ⊕ password ⊕ patch ⊕ profiling ⊕ reload ⊕ safari ⊕ security ⊕ toread ⊕ update ⊕ webdev ⊕Copy this bookmark: