Don't update large files

Asked by Kelly Graus

I am working on integrating sparkle into an app that contains a very large, immutable data set (>4GB). We obviously don't want to re-download the data set each time we release an update to the app. I've been researching delta updates, and while it seems like this would work, it looks like they only work with binary patches (is this correct)? If so, we would need to provide delta updates for each possible upgrade path (ie. 1.0 to 1.1, 1.0 to 1.2, 1.1 to 1.2, etc).

Is there anyway to use delta updates without going the binary route? Ie, merge the two bundles instead of deleting the old one and replacing it with the new one?

Or maybe a way to specify a file that should be moved over from the old bundle to the new bundle before the old bundle is deleted?

Thanks for any direction on this!

Kelly

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Kelly Graus
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

The delta updates would do what you want: the binary patch can handle new files appearing. If all you did was add a new file to the resources directory, the binary patch produced by the delta tool would only include that information.

Revision history for this message
Kelly Graus (kelly-graus) said :
#2

Thanks!