|
|
|
|
|
by shadeless
4174 days ago
|
|
I was looking for something like this for a project that involve IoT device and need near real time feedback. One thing that isn't clear to me is what should be used to communicate between the devices and servers? Having no experience with it (and having background in Node.js), websockets sounded like a way to go at first but I didn't see it mentioned much in that context, on the other hand I heard about few projects who use messaging systems like RabbitMQ and similar to transfer data back and forth. Thoughts? |
|
Other projects might use MQTT -- a messaging system built for smaller devices (instead of say AMQP). RabbitMQ has a driver for it:
http://www.rabbitmq.com/blog/2012/09/12/mqtt-adapter/
But if you can get any server that supports websockets and have websocket clients in your client code (if you don't use a browser). Then you can roll your own messages using JSON or even binary.