Arch-delta Saves 80% Of Bandwidth On Upgrades
Mood
supportive
Sentiment
positive
Category
tech
Key topics
bandwidth optimization
package management
Arch Linux
The article discusses how 'arch-delta' reduces bandwidth usage by 80% for upgrades by using delta encoding, and provides an explanation of how it works.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
6h
Peak period
3
Day 2
Avg / period
2
Based on 4 loaded comments
Key moments
- 01Story posted
11/12/2025, 5:09:05 PM
6d ago
Step 01 - 02First comment
11/12/2025, 11:16:28 PM
6h after posting
Step 02 - 03Peak activity
3 comments in Day 2
Hottest window of the conversation
Step 03 - 04Latest activity
11/14/2025, 1:27:46 AM
5d ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
This wastes not only my time and bandwidth, but adds extra load and bandwidth on the mirror. Why can't I have pacman sync with one of my other computers? Even if there's a different set of packages, the core OS is the same and can share packages with other machines.
I did look briefly into hosting a proper pacman mirror locally, but it seemed like way too much effort to save 10 minutes a month.
Currently using the dkarhttpd route with rsync. Everything is stored in a custom directory so that older version can be retained. Pacoloco looks interesting.
It always felt like such a waste to me how the DB always downloads tens of megabytes of data when likely only 1kB has changed. I mean I also really appreciate the beauty of how simple it is. But I'd bet even a delta against a monthly baseline file would reduce the data by >90%.
Also, it would be interesting to see how zstd --patch-from compares to the used delta library. That is very fast (as fast as normal zstd) and the code is already there within pacman.
For the recompression issue, there is some hard to find libraries that can do byte-exact reproducible decompression https://github.com/microsoft/preflate-rs but I don't know of any that work for zstd.
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.