Azure Device Provisioning Service IoT Hub Allocation Policy

In my previous article, we have learned how the Azure Device Provisioning Service helps to manage the IoT devices throughout their life cycle. You can link the multiple IoT Hub to the single instance of Azure device provisioning service and IoT devices automatically allocate to the specific IoT hub based on the set policy during the device enrollment. There are the following policies supported by the device provisioning service.

  • Static configuration
  • Evenly weighted distribution
  • Lowest latency

Static Configuration

When static allocation policy is assigned during the devices enrollment, then it gives the option to choose the IoT Hub & based on selected IoT hub devices get registered to the specific IoT hub.
The following flow will give an idea how it will work.

Evenly Weighted Distribution

Evenly distributed policy registers the device on the IoT hub which has less utilization & load. Let’s say we have ten IoT devices and two linked IoT hubs, then five devices will be assigned to one IoT hub and five devices to another IoT hub based on how much available IoT hub is utilized.
The following process diagram will give a clear idea of an evenly distributed policy.

Lowest latency

Lowest latency policy allows to allocate the device on the IoT hub which is near the device location. It means device automatically allocate to the closest IoT hub ((Datacenter) of the device location, which will make faster communication between devices and the IoT hub.
The following diagram shows how the lowest latency policy works.

Summary

I hope this article helped you to understand about the Azure device provisioning service IoT hub allocation policies. In the next article we will learn about the Azure event hub.

Related Articles

Post a Comment

www.CodeNirvana.in

Protected by Copyscape
Copyright © Compilemode