Hacker News

apt-cacher-ultra

by @linsomniac

The Ubuntu DDoS last month inspired to me make a better apt cache service. It's looking like I'll be cutting a 1.0 release later this week (after extensive testing in my environment). https://github.com/linsomniac/apt-cacher-ultra The primary features I'm focusing on are: It can serve packages if the upstream is unavailable or corrupt, it is reliable. It snapshots and verifies the cache, and then only updates the snapshot when: a new metadata is available, it has downloaded updated packages that you commonly request, all the metadata checks out. It's been running in my environment with ~200 clients, ~50 of them get reinstalled every day and then do a full set of package updates and installs. Been working great, even when I shut down Internet access while doing it.

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app