Azure物联网中心设备到云分区的用途 [英] purpose of Azure iot hub device-to-cloud partitions

查看:91
本文介绍了Azure物联网中心设备到云分区的用途的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在创建新的Azure IOT集线器时,系统会询问您需要多少个设备到云的分区.您可以在2-32分区之间选择标准层.

When creating a new Azure IOT Hub you are asked how many device-to-cloud partitions you need. You can select between 2-32 partitions for standard tiers.

我了解SKU和单位数决定了您可以发送到IOT集线器的最大每日邮件配额.并且建议将您的设备分装到多个IOT集线器中,以缓解流量突发情况.但是,需要对设备到云的分区进行说明.

I understand that the SKU and number of units determine the maximum daily quota of messages that you can send to IOT Hub. And that it is recommended to shard your devices into multiple IOT hubs to smooth traffic bursts. However, device-to-cloud partitions need clarification.

1 >>在单个IOT集线器下的那些设备到云分区的用途是什么?

1>> What is the purpose of those device-to-cloud partitions under a single IOT hub?

2 >>我们应该如何利用这些IOT Hub设备到云分区?

2>> How are we supposed to take advantage of those IOT Hub device-to-cloud partitions? 

谢谢.

推荐答案

1 >> 单个物联网集线器?

1>> What is the purpose of those device-to-cloud partitions under a single IOT hub?

分区属性为Azure IoT中心中内置的与事件中心兼容的消息传递终结点(消息/事件)进行设置.从这里我们可以看到分区"是Event Hub的概念.

Partition property is setting for Event Hub-compatible messaging endpoint(messages/events) built in Azure IoT Hub. From here we can see "partitions" is a concept belongs to Event Hub.

事件集线器旨在允许每个使用者组使用单个分区读取器.使用者组中的单个分区在任何时候都不能连接5个以上的并发读取器.更多的分区使您可以让更多的并发阅读器处理数据,从而提高总吞吐量.

Event Hubs is designed to allow a single partition reader per consumer group. A single partition within a consumer group cannot have more than 5 concurrent readers connected at any time. More partitions enables you to have more concurrent readers processing your data, improving your aggregate throughput.

引用:内置终结点:消息/events 我需要多少个分区?

2 >>我们应该如何利用那些物联网中心 设备到云分区?

2>> How are we supposed to take advantage of those IOT Hub device-to-cloud partitions?

事件中心具有两个主要的事件消费模型:直接接收器和更高级别的抽象,例如EventProcessorHost.直接接收者负责自己协调对消费者组中分区的访问.

Event Hubs has two primary models for event consumption: direct receivers and higher-level abstractions, such as EventProcessorHost. Direct receivers are responsible for their own coordination of access to partitions within a consumer group.

参考:事件使用者.

有关Azure事件中心的分区模型的更多信息,请参见此处.

More information about the partitioning model of Azure Event Hubs are here.

这篇关于Azure物联网中心设备到云分区的用途的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆