Re:ShowHN: dweet.io – Twitter for machines
by Queue29 on Friday February 07, 2014 @04:35PM
(#7198892)
Using HTTP for this is ridiculous. CoAP or MQTT would have been the obvious choice, considering they were designed for exactly this use m2m use case.
[ Parent
| on HN ]
If you want something which can be plugged into a random network somewhere in the world and be reasonably capable of phoning home HTTP is your best bet for being not being firewalled.
There's also something to be said for using a well-known protocol rather than something obscure which is likely to require time to debug because it's had many orders of magnitude less usage.
Re:ShowHN: dweet.io – Twitter for machines
by dclara on Friday February 07, 2014 @07:43PM
(#7199787)
Your point is valid, and you gave suggestions as well.
I agree with you that machines should not talk on the HTTP level, it's over kill. Machines only need very simple protocols to exchange current state if they do need to cooperate. To me, if devices can transfer state with the controlled program should be good enough so that the program will send the states to other machines for them to determine what's going to be the next step or directly give them instruction on what the next step to go.
I know it's a lot fun to build this type of cute machines, but it's not economic.
Re:ShowHN: dweet.io – Twitter for machines
by Bug_Labs on Friday February 07, 2014 @05:09PM
(#7199090)
Our only use-case was ridiculously simple. I don't think CoAP or MQTT fit into that use-case, however at some point, yes we will add other protocols. Thank you.
Re:ShowHN: dweet.io – Twitter for machines
by terabytest on Friday February 07, 2014 @05:10PM
(#7199105)
Except it would be much harder to use and understand.