Home    Bloggers    Messages    Polls    Resources   
Tw  |  Fb  |  In  |  Rss
Tim Kellogg

Telemetry Protocols, or Why HTTP Won't Work for IoT

Tim Kellogg
Page 1 / 2   >   >>
Davidmicro
Davidmicro
6/13/2014 3:21:42 PM
User Rank
Worldwide Wizard
Re: Alternative Perspective
Let us push MQTT to the different level.

Quantities analysis could be brought for between MQTT and HTTP. Parameter could be estimated in the protocol level and for example, the time that message is arrived could be analyzed among two in the same location. This type information could be valuable to get the pro and con of each protocol.

50%
50%
Tim Kellog
Tim Kellog
6/13/2014 2:18:31 PM
User Rank
Blogger
Re: Alternative Perspective
Yeah, I understand. My main problem was that he measured MQTT against his own expectations of an enterprise message queue and found it to be unfit. The thing is, MQTT is meant to be used as an aggregator of traffic from constrained devices that are common in IoT. It was never meant to be an enterprise message queue.

The public reaction to Clemens' blog has been "Oh my gosh, MQTT isn't good for anything", which is completely and entirely false and I've had to spend countless hours dispelling these myths. It's been very successful at what it tries to do, so it's very frustrating when a well-respected architect labels it as "unfit". If the public wants MQTT to be more of an enterprise message broker then the committe can consider making appropriate changes. Honestly, I don't see much reason to make those changes since there are already so many good enterprise message brokers already available.

I do appreciate your thoughts about HTTP being the language of the web. Honestly, I think this deserves another blog post for clarifying my position on it. I share a lot of the same sentiments as you do, but at the same time I think the popularity of the HTTP model is preventing the Internet from evolving where it needs to.

50%
50%
jheising
jheising
6/13/2014 2:00:18 PM
User Rank
Local Activator
Re: Alternative Perspective
Thanks for sharing Tim— I didn't realize that his post was so polarizing. Although I'm not sure I'd call someone posting to his/her personal Blog a "Flame War".

He responded as well: http://vasters.com/clemensv/2014/06/04/On+Discourse+And+MQTT.aspx

Anyway, I'm not trying to start a flame war myself :) I just felt that the headline was a bit sensationalistic and that there is obviously a lot of passion on both sides.

Let's just hope that out of all this comes some sort standardization, no matter what the protocol is.

50%
50%
Tim Kellog
Tim Kellog
6/13/2014 1:46:24 PM
User Rank
Blogger
50%
50%
jheising
jheising
6/13/2014 1:42:56 PM
User Rank
Local Activator
Alternative Perspective
Personally I am neither bullish or bearish on MqTT, but I think it's interesting to see a counter perspective: http://vasters.com/clemensv/2014/06/02/MQTT+An+Implementers+Perspective.aspx

I also think it's wrong to say that HTTP won't work for IoT. It's obvious it DOES work and works quite well for a lot of things. MqTT might be more future proof as networks start becoming more congested, but one has to weigh the arguments that HTTP is extremely easy to integrate with a plethora of off-the-shelf and tried-and-true products.

50%
50%
BrianHall
BrianHall
4/1/2014 3:46:33 PM
User Rank
Local Activator
Re: MQTT for beginners...
You can get access to iOS, Android and web SDKs at clearblade.com

50%
50%
kellogh
kellogh
1/19/2014 9:18:52 AM
User Rank
Local Activator
Re: MQTT for beginners...
MQTT runs on top of TCP, so it probably wouldn't work. On the other hand, MQTT-SN probably would work. it runs on datagram technologies, like UDP or SMS messages. However, I'e never heard anyone doing MQTT-SN over ZigBee and I don't know enough about it to say for sure that it would work. As for a general "getting started" guide, I wrote one here:

http://www.2lemetry.com/blog/2013/08/mqtt-in-a-nutshell

50%
50%
cpetras
cpetras
1/17/2014 6:58:12 PM
User Rank
Local Activator
MQTT for beginners...
So how do I get started with MQTT?

My application is agricultural sensors connected via zigbee/wirelessHART nodes. The nodes mesh back to a gateway/concentrator.

Would MQTT be appropriate to the node to gateway path? or is it more appropriate for the gateway to other path?

Is there any lightweigh implementations available? Or do I need to go to IBM?

 

50%
50%
kellogh
kellogh
1/17/2014 4:06:13 PM
User Rank
Local Activator
Re: Do not use HTTP
Exactly. TCP doesn't take care of reconnection on it's own, but MQTT does. On the subject of network performance, here's a paper I linked to within the text of the blog that you might find very interesting. 

http://conferences.sigcomm.org/co-next/2013/program/p303.pdf

My take on it is that TCP over cellular networks isn't a great fit. Luckily, MQTT-SN runs on datagram based protocols and is better suited for those scenarios.

50%
50%
Davidmicro
Davidmicro
1/17/2014 4:00:16 PM
User Rank
Worldwide Wizard
Re: Do not use HTTP
->Do message get delivered when the connection is unexpected broken?

I think that it may be depending on how to design the reconnection scheme. Network performance could be improved either using other method or using existing method with the updated.

50%
50%
Page 1 / 2   >   >>
More Blogs from Tim Kellogg
The Internet of Things is acquiring a language that will let people with the common touch create for the IoT.
Getting a large group of diverse IoT devices to exchange information can be a challenge -- unless they can discover one another automatically.
Twin to telemetry, telecommand involves sending data to IoT devices. The CoAP protocol is a perfect fit.
flash poll
video blogs
The IEEE & the IoT
Howard M. Cohen discusses the IEEE's involvement in ...

1:43

0 comments
No Separate Engineering ...
Howard M. Cohen discusses the likely role of the ...

2:13

0 comments
IoT-as-a-Service
The future for the IoT, at least in the consumer ...

1:26

0 comments
Balancing Sensor Cost ...
There's a cost to using directly addressable ...

1:47

0 comments
Good IoT Standards Aim at ...
IoT standards initiatives could be a monumental ...

2:14

0 comments
Contextual Services as the ...
The biggest benefit of the IoT may be in getting ...

2:03

0 comments
The IoT & IPv6
We've heard for decades that we need to move to ...

2:13

0 comments
Managing the Cost of IoT
Experience says the cost of IoT depends most on the ...

2:14

0 comments
Standards & the IoT
The buzz created by Microsoft joining the AllSeen ...

2:11

0 comments
Governance of the IoT ...
Three major contenders are in play to provide ...

1:42

1 comment
Interpreting Events in ...
The geographic dispersal of sensors in IoT can ...

2:10

0 comments
There's a Lot of Cloud in ...
The distributability and scale of the Internet of ...

2:10

0 comments
Publish & Subscribe in ...
The use of publish-and-subscribe connections to IoT ...

2:14

0 comments
Is There More IoT News ...
Apple's IoT announcements enter it into a market ...

2:09

0 comments
The Network Issues for ...
People think about IoT network impact in terms of ...


0 comments
follow us on twitter
like us on facebook
IoT World
About Us     Contact Us     Help     Register     Twitter     Facebook     RSS
Video Blogs
The IEEE & the IoT

7|24|14   |   1:43   |   (0) comments


In a companion piece to his blog, IEEE Claims Its Role in the Internet of Things, Howard M. Cohen discusses the IEEE's involvement in the IoT's governance.
Video Blogs
No Separate Engineering Task Force for the IoT

7|23|14   |   2:13   |   (0) comments


In this companion piece to his blog, Who Governs the Internet of Things?, Howard M. Cohen discusses the likely role of the Internet Engineering Task Force (IETF).
Tom Nolle
IoT-as-a-Service

7|23|14   |   1:26   |   (0) comments


The future for the Internet of Things, at least in the consumer space, may need the offering of services, not just devices.
Tom Nolle
Balancing Sensor Cost Against IoT Reliability

7|18|14   |   1:47   |   (0) comments


In IoT, using an intermediary sensor controller makes sensor networks cheaper, but it also creates a single point of failure. There's a cost to using directly addressable sensors beyond the sensor cost itself, and that's the cost of securing your sensors.
Tom Nolle
Good IoT Standards Aim at the Right Targets

7|17|14   |   2:14   |   (0) comments


IoT standards initiatives could be a monumental waste of time if we don't focus them where they count: on the connection between sensor controllers and applications. We need consistent APIs here because developers won't do a zillion versions of their software to fit all the possible interfaces.
Tom Nolle
Contextual Services as the IoT Driver

7|15|14   |   2:03   |   (0) comments


Mobile services have to be "contextual" in that they have to reflect the physical, social, and event contexts in which the user is operating. The biggest benefit of the IoT may be in getting enough useful information to build contextual services.
Tom Nolle
The IoT & IPv6

7|9|14   |   2:13   |   (0) comments


We've heard for decades that we need to move to IPv6, because we're running out of Internet addresses, and we've somehow worked around it. Flash: The workaround doesn't work with most devices we think will make up the IoT, and IPv6 may be a mandatory step.
Tom Nolle
Managing the Cost of IoT

7|9|14   |   2:14   |   (0) comments


Experience says the cost of IoT depends most on the cost of the sensor network and the cost of storage. There are steps you can take to manage both, and these will help you make the business case for IoT more easily and also ease ongoing ownership costs.
Tom Nolle
Standards & the IoT

7|9|14   |   2:11   |   (0) comments


The buzz created by Microsoft joining the AllSeen alliance raises the question of the importance of standards in IoT, and it's not an easy one. It may depend on just how much generalized sensor deployment and use you think will happen.
Video Blogs
Governance of the IoT Under Contention

7|3|14   |   1:42   |   (1) comment


Three major contenders are in play to provide governance of the Internet of Things.
Tom Nolle
Interpreting Events in Your IoT Application

7|3|14   |   2:10   |   (0) comments


The geographic dispersal of sensors in IoT can wreak havoc with the interpretation of events by your control processes because of issues with recognizing event time stamps and also analyzing the context of events relative to each other.
Tom Nolle
There's a Lot of Cloud in IoT's Future

6|25|14   |   2:10   |   (0) comments


The distributability and scale of the Internet of Things makes it a logical place to apply cloud technology and to harness cloud services. In fact, cloud/IoT symbiosis may be the most important thing to watch as a metric for assessing how far IoT has and will come.
Tom Nolle
Publish & Subscribe in Your IoT

6|25|14   |   2:14   |   (0) comments


The use of publish-and-subscribe connections to IoT sensors can provide a lot of benefits, ranging from DoS protection and general policy/compliance control, to ensuring that users of data can find it without having to browse through hosts of non-relevant sensors.
Tom Nolle
Is There More IoT News Than Apple's?

6|25|14   |   2:09   |   (0) comments


Apple's IoT announcements enter it into a market already established. GE has some new IoT technology that could expand on what's already the largest IoT application, RFID, by adding in imprintable sensors.
Tom Nolle
The Network Issues for IoT: More Than 'Traffic'

6|25|14   |     |   (0) comments


People think about IoT network impact in terms of traffic, but most IoT devices aren't big traffic generators. What matters in an IoT control network is low latency and low packet loss, and these issues may drive IoT networks to a different and separate place vs. normal enterprise networks.