Battery Consumption in MQTT Vs AMQP

499 views
Skip to first unread message

Vivek Rangi

unread,
Nov 30, 2016, 11:46:05 PM11/30/16
to MQTT
Hi!

    I am preparing a comparison chart between MQTT and AMQP. Can anybody tell me who between MQTT and AMQP consumes less battery and by what percentage.

Regards,
Vivek

Vivek Rangi

unread,
Nov 30, 2016, 11:48:00 PM11/30/16
to MQTT

Vivek Rangi

unread,
Nov 30, 2016, 11:48:32 PM11/30/16
to MQTT
Here I am talking about MQTT and AMQP clients


On Thursday, December 1, 2016 at 10:16:05 AM UTC+5:30, Vivek Rangi wrote:

Paul Fremantle

unread,
Dec 1, 2016, 1:21:31 AM12/1/16
to mq...@googlegroups.com
I haven't seen any data on this, but it would clearly be MQTT. There is a comparison of HTTPS and MQTT available http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https.

Paul

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.



--
Paul Fremantle
Doctoral Researcher, University of Portsmouth, School of Computing
Visiting Scientist, Institute of the Architecture of Application Systems, Stuttgart
Visiting Lecturer, Software Engineering Programme, Oxford University
Co-Founder, WSO2
Apache Member and Committer
twitter: pzfreo / skype: paulfremantle / blog: http://pzf.fremantle.org

Vivek Rangi

unread,
Dec 1, 2016, 2:32:34 AM12/1/16
to MQTT

Thanks, but I have already seen the link. But I need info on which protocol consumes less power than the other.

On Thursday, December 1, 2016 at 11:51:31 AM UTC+5:30, Paul Fremantle wrote:
I haven't seen any data on this, but it would clearly be MQTT. There is a comparison of HTTPS and MQTT available http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https.

Paul
On 1 December 2016 at 04:48, Vivek Rangi <rangi...@gmail.com> wrote:
Here I am talking about MQTT and AMQP clients

On Thursday, December 1, 2016 at 10:16:05 AM UTC+5:30, Vivek Rangi wrote:
Hi!

    I am preparing a comparison chart between MQTT and AMQP. Can anybody tell me who between MQTT and AMQP consumes less battery and by what percentage.

Regards,
Vivek

--
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 https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Paul Fremantle

unread,
Dec 1, 2016, 2:42:06 AM12/1/16
to mq...@googlegroups.com
Vivek

I understood. What I'm explaining is that:

1) No-one truly knows because there is no published study.

2) You can obviously *guess* that MQTT will require less power, because it is (a) less complex using less CPU (e.g. no-one has  fit AMQP onto an 8-bit controller), (b) it uses less bandwidth, hence less power.

In other words, I haven't seen any data on this, but it would clearly be MQTT.

Paul

To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.

To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

Francis Brosnan Blázquez

unread,
Dec 1, 2016, 2:53:56 AM12/1/16
to mq...@googlegroups.com
Hi,

It is hard to tell but using TLS/SSL (which is far more expensive than using plain connections),
the kind of the device's connection (how much power it consumes every time it is used) and, of course, how
frequent the connection is used.

None of these have to do with the protocol (may it be mqtt or amqp) so the protocol, in essence,
is not a critical factor in terms of cpu and power consumption,

Best Regards,
-- 
Francis Brosnan Blázquez  -  ASPL
http://www.asplhosting.com/
http://www.aspl.es/
https://twitter.com/aspl_es
https://twitter.com/asplhosting
https://twitter.com/francisbrosnanb

91 134 14 22 - 91 134 14 45 - 91 116 07 57

AVISO LEGAL
 
En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL).
 
ASPL garantiza que los datos serán tratados con la finalidad de mantener
las oportunas relaciones comerciales o promocionales con usted o la
entidad que usted representa. No obstante, usted puede ejercitar sus
derechos de acceso, rectificación, cancelación y oposición dispuestos en
la mencionada Ley Orgánica, notificándolo por escrito a ASPL -
Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de Henares
(Madrid).


Tomoaki Yamaguchi

unread,
Dec 1, 2016, 3:11:26 AM12/1/16
to mq...@googlegroups.com

I guess LoRaWan + MQTT-SN might be best.


2016/12/01 16:53 "Francis Brosnan Blázquez" <francis...@aspl.es>:
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.

Stefano Costa

unread,
Dec 1, 2016, 3:18:53 AM12/1/16
to mq...@googlegroups.com
On 01/12/2016 08:41, Paul Fremantle wrote:
Vivek

I understood. What I'm explaining is that:

1) No-one truly knows because there is no published study.

2) You can obviously *guess* that MQTT will require less power, because it is (a) less complex using less CPU (e.g. no-one has  fit AMQP onto an 8-bit controller), (b) it uses less bandwidth, hence less power.

In other words, I haven't seen any data on this, but it would clearly be MQTT.

I would also add that sometimes protocol complexity by itself is not a measure of efficiency in terms of energy consumption. Look, I'm writing "energy" and not "power" meaning that you (the architect of the application) should take into consideration the use mode of the communication channel you're trying to establish. Sending a small amount of data over a safe and consistent protocol once per hour can be far more efficient than continuously querying for bits of information using a very simple protocol that does not offer reliability features.

This is also why a logical "push" protocol model like MQTT most of the times is to be preferred in battery operated equipments if compared to "pull" (query and answer) protocols. Again: heavily depends on the use mode. We're assuming no one is looking for an energy efficient protocol when continuously sending gigabytes of data over MQTT (it happens: firmware updates...).

-- 
  Stefano Costa, Managing Director R&D
  Bluewind Embedded Systems
  M +39 335 6565749
  Skype stefanocosta.bluewind
  Twitter @stefanobluewind
  http://www.bluewind.it
Reply all
Reply to author
Forward
0 new messages