Using the delta update mechanism for general files

Q-bertsuit 45 Reputation points
2023-02-03T09:02:28.2333333+00:00

I've been looking into the delta updates in Device Update for IoT Hub (Preview) mechanism which looks really interesting.

Will it be possible to use this mechanism for synching arbitrary types of files, or is it only aimed at container images? Any idea when this functionality will be generally available?

https://learn.microsoft.com/en-us/azure/iot-hub-device-update/delta-updates

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
561 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,157 questions
0 comments No comments
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 13,966 Reputation points
    2023-02-03T20:02:54.1033333+00:00

    Hello @Q-bertsuit Greetings! Thank you for posting this question and we are glad you are looking forward to this feature.

    The delta update has few requirements pertaining to the file format. Please find the details below.

    • The source and target update files must be SWU (SWUpdate) format.
    • Within each SWUpdate file, there must be a raw image that uses the Ext2, Ext3, or Ext4 filesystem. That image can be compressed with gzip or zstd.
    • The delta generation process recompresses the target SWU update using zstd compression in order to produce an optimal delta. You'll import this recompressed target SWU update to the Device Update service along with the generated delta update file.
    • Within SWUpdate on the device, zstd decompression must also be enabled.

    Unfortunately, this feature cannot be used with arbitrary file types now. Is there any specific file format that you are planning to test this feature with?

    Kindly note that Delta updates is fully functional today, and the product team is interested in getting more customer feedback to address any potential issues before tagging it as GA. We would love to get your feedback on the delta update functionality and get to know any issues you have encountered as you test it out.


    • Kindly mark the answer as useful if the response is helpful so that it would benefit other community members facing the same issue. 
    • Original posters help the community find answers faster by identifying the correct answer. Here is how 
    • I highly appreciate your contribution to the community. 
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful