mq...@googlegroups.com wrote on 30/04/2014 08:15:22:
> From: Stefano Costa <stefan...@bluewind.it>
>
> --
> To learn more about MQTT please visit http://mqtt.org
> ---
> You received this message because you are subscribed to the Google
> Groups "MQTT" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to mqtt+uns...@googlegroups.com.
> To post to this group, send email to mq...@googlegroups.com.
> Visit this group at http://groups.google.com/group/mqtt.
> For more options, visit https://groups.google.com/d/optout.
>
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
1) The protocol overhead is very small to deliver a message 2 bytes + a topic (subject) + the payload are required to deliver a message. So combining a low overhead protocol with a payload that is compressed will help on lines that are low bandwidth. A good practise on constrained networks is to ensure the payload is kept as small as possible.
2) MQTT will deliver a message to the requested quality of service. QOS includes fire and forget, at least once and exactly once. The message is delivered to the quality of service even if the connection is dropped in the middle of delivering the message. (when the connection is re-established the protocol ensures any inflight messages are delivered to the requested QOS).
--
On 04/30/2014 11:00 AM, Dave Locke wrote:
1) The protocol overhead is very small to deliver a message 2 bytes + a topic (subject) + the payload are required to deliver a message. So combining a low overhead protocol with a payload that is compressed will help on lines that are low bandwidth. A good practise on constrained networks is to ensure the payload is kept as small as possible.Fully agree on this, great benefit of course. Would be a non sense to try to send "structured" data with MQTT on most situations.
2) MQTT will deliver a message to the requested quality of service. QOS includes fire and forget, at least once and exactly once. The message is delivered to the quality of service even if the connection is dropped in the middle of delivering the message. (when the connection is re-established the protocol ensures any inflight messages are delivered to the requested QOS).Yes this is also true but sometimes could lead to higher traffic costs, must be taken into account and monitored.
Fred: I'd be interested at learning more about the application, if any detail can be disclosed here. Number of nodes, cellular operator being used, traffic per month... interesting use mode for MQTT.
S
Regarding MQTT vs. raw TCP, if you want the same pub/sub semantics you would have to code that yourself. You would have to deal with fragmentation and whatnot. While I'm sure I could write all that, I'd rather not...
-D