-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java Device Client]Configurable ping interval #10
Comments
From @anhashia on June 23, 2016 23:12 Looking into the issue |
From @zolvarga on July 6, 2016 21:30 Hi BlueBasher, We are going to modify the keep alive interval to use the same value what .NET client is using. Thanks, |
From @BlueBasher on July 7, 2016 16:38 We were using the AQMP protocol. |
From @zolvarga on July 8, 2016 17:32 Hi BlueBasher, I took a look at the specification for AMQP idle timeout handling. To be on the safe side, the client (both our Proton-J and C client) takes the idle timeout value from the server's open frame (which is currently 240 sec) and divides it by 2 to set the client idle timeout. The generated extra traffic is very low, an empty frame in every 2 minutes. Also make the idle timeout configurable does not makes sense as the user of the API would not know what idle timeout value sent by the server in the open frame. Please let me know if we can close this issue. Thanks, |
From @BlueBasher on July 13, 2016 14:6 Ok, sounds clear to me. We'll check the total bandwidth usage now with the fix from #655 and if these pings aren't an issue I'll let you know asap. |
From @BlueBasher on July 14, 2016 13:43 Could you verify that you indeed also see that the device sends a ping to the server every 120 sec? |
From @anhashia on July 22, 2016 18:41 Looking into this |
From @anhashia on July 26, 2016 0:35 Hi @BlueBasher |
From @BlueBasher on July 27, 2016 14:35 Double checking it. Running tests on multiple machines, will let you know asap. Packet length is 123 bytes. |
From @BlueBasher on July 28, 2016 15:18 I've doubled checked and I indeed also see that the client is sending a ping every 120 seconds. Can you explain where this 105 seconds is coming from? And what the rational is with having both client and server initiating pings? The pings initiated by the client are 123 bytes with ack from server 60 bytes. All our devices are connected via mobile networks and data usage is expensive, that's why we're searching for ways to reduce this 13.5Mb. |
From @anhashia on August 3, 2016 17:54 Looking at it. |
From @olivierbloch on August 3, 2016 22:47 Hi @BlueBasher |
From @BlueBasher on August 4, 2016 6:54 Hi @olivierbloch |
From @anhashia on August 11, 2016 18:17 Current ETA for this is end of September. |
From @anhashia on September 1, 2016 18:22 Issue is being worked upon. Current ETA for this is end of October. |
From @anhashia on September 23, 2016 19:48 Current ETA for this is end of October. |
From @anhashia on October 25, 2016 17:6 Revised ETA is end of Nov. |
From @anhashia on December 6, 2016 0:14 Work in progress ! |
Service side change has been made. For increasing limit of AMQP timeout to max 25 minutes for your Hub, please open ticket with Azure Support. Client side SDK change is work in progress. Currently, it is only available in C SDK. Please see Azure/azure-iot-sdk-csharp#46 for more details on this topic. |
Due to lack of interest in this enhancement, we are closing it. Feel free to re-open and discuss if this is not the case. |
From @BlueBasher on June 23, 2016 15:50
The Java Device Client sends a ping message every 120 seconds.
This is different than the .NET Client, which sends a ping every 230 seconds.
The behavior of both clients should at least be the same.
Even more preferable would be to be able to configure this interval.
Copied from original issue: Azure/azure-iot-sdks#653
The text was updated successfully, but these errors were encountered: