Azure / iot-edge-v1

Azure IoT Edge
http://azure.github.io/iot-edge/
Other
525 stars 257 forks source link

IoT Edge Message Sending #641

Closed qiufan closed 5 years ago

qiufan commented 5 years ago

Description of the issue:

Is there any speed limitation of sending messages to the IoT Hub in the IoT Edge? I built a customer module in the IoT Edge which would send 10 messages per second to the IoT Hub. Meanwhile, I could only retrieve 3 or 4 messages per second for the IoT Hub. The latency between the transmitting and receiving of the message increases with the time goes by.

I do two tests. First, I test a normal IoT Device without IoT Edge and adjust the price of IoT Hub. It seems that the IoT Hub can handle more than 10 messages per second. Second, I kill the customer module and shutdown the IoT Edge service(“systemctl stop iotedge”) immediately. The message receiver for the IoT Hub will stop immediately. Then I restart the IoT Edge service, the blocked messages of the “old” customer module will show from the IoT Hub. Although currently the customer module has sent new messages to the IoT Hub. By the way, the device is a PC with Linux OS.

Console log of the issue:

screenshot from 2018-07-20 13-19-17

qiufan commented 5 years ago

Sorry. I made a mistake~I move this issue to the iotedge repo