Skip to main content
Rugix Bakery 0.9.6 is here: Build rules for custom image pipelines and verified boot for EFI and Raspberry Pi. Read the release post.

Blog tag

delta updates

Posts tagged with delta updates.

  • Faster Delta Updates

    Rugix Ctrl supports dynamic delta updates, which reduce downloads by reusing data that is already on a device. Downloading only the missing data saves bandwidth, but it can still take a long time when an installer sends thousands of small HTTP requests one after another.

    In Rugix Ctrl 1.4, we improved how the installer fetches that missing data. We benchmarked the new fetcher alongside Rugix Ctrl 1.3.0 and RAUC 1.15.2, another popular update engine that supports dynamic delta updates.

    Across three Debian update scenarios with 40 ms of added round-trip latency, Rugix Ctrl 1.3.0 and RAUC had similar installation times. With the new fetcher, median installations were about 14–31× faster than with Rugix Ctrl 1.3.0 and RAUC 1.15.2. With no added latency, we found no consistent improvement over Rugix Ctrl 1.3.0.

    We also measured network traffic in both directions. Across the three scenarios at 10 ms of added round-trip latency, Rugix Ctrl 1.3.0 transferred about 20–23% fewer bytes than RAUC, and the new fetcher transferred 25–29% fewer bytes.

    Read post
  • Rugix Ctrl 1.4

    We are excited to announce the release of Rugix Ctrl 1.4. 🎉

    Rugix Ctrl 1.4 makes dynamic delta updates much faster over HTTP, particularly on high-latency connections. For Rugix Apps, the release adds versioned configuration, staged deployments, and a shared store that deduplicates file content across applications and their versions. It also makes bootstrapping recoverable after interruptions and adds a Nix integration for building bundles and configuring Rugix Ctrl.

    Read post
  • Efficient Delta Updates

    Most modern OTA update solutions for embedded Linux support a form of delta updates. Delta updates can reduce the amount of data transferred and the time required to install a new version by reusing locally available parts of the old version of a system. This is especially useful for devices on metered or bandwidth-constrained connections. In this article, we will survey the different delta update techniques implemented within popular OTA update tools, examine their tradeoffs, and present benchmarks that compare their efficiency on the basis of real-world update scenarios.

    This article aims to serve as a guide for engineers looking to implement delta updates in their embedded Linux projects. Together with this article, we release Rugix version 0.8.12 which introduces support for static delta updates and functionality for benchmarking delta update techniques. With the benchmarking functionality included in Rugix Bundler, we enable engineers to evaluate the efficiency of different delta update techniques and make informed decisions about which approach to use based on their specific update scenarios. While we aim to present general benchmarks in this article, we would like to encourage you to run your own benchmarks and share your own findings with us.

    Read post