Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delta updates #19

Closed
ignoramous opened this issue Sep 14, 2021 · 3 comments
Closed

Delta updates #19

ignoramous opened this issue Sep 14, 2021 · 3 comments
Assignees

Comments

@ignoramous
Copy link
Contributor

ignoramous commented Sep 14, 2021

Update more frequently (once every hour?), and see if delta updates are possible? Ship only bytes that have changed since the previous version. Like a git-patch.

https://archive.is/RiUEl

@ignoramous ignoramous self-assigned this Sep 14, 2021
@ignoramous
Copy link
Contributor Author

@ignoramous
Copy link
Contributor Author

Used xdelta with alexkasko/delta-updater and the result of diff'ing two blocklists was around 76M for just td (trie-data).

java -jar ./delta-diff/target/delta-diff-1.1.4-SNAPSHOT-distr/delta-diff.jar ../serverless-dns/blocklists__/2022/1668635781244/u6 ../serverless-dns/blocklists__/2022/1669339013468/u6 -o patch.zip

So, the generic delta / diff updates won't rescue us here.

@ignoramous
Copy link
Contributor Author

VcDiff wasn't any better either ~48MB for trie.

It doesn't looks like off-the-shelf delta / diff algorithms are going to work for us.

This requires some more thought and possibly a custom diff / delta algorithm, for which there's not enough planning or time, right now. May visit a similar approach in the future, if needed.

@ignoramous ignoramous closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant