Análise de Desempenho de Brokers MQTT em Sistema de Baixo Custo

  • Andrei B. B. Torres UFC
  • Atslands R. Rocha UFC
  • José Neuman de Souza UFC

Resumo


Este artigo apresenta uma análise de desempenho (uso de CPU, consumo de memória e envio de mensagens) de brokers MQTT em um hardware de baixo custo, o Raspberry Pi 2 Modelo B. Os objetivos da análise são averiguar qual implementação de broker MQTT é a mais adequada às limitações do hardware e se o Raspberry Pi 2 é realmente capaz de funcionar como gateway de uma rede de sensores e atuadores para a Internet das Coisas (IoT). Os resultados mostraram que o Raspberry Pi 2 consegue lidar com grandes números de conexões, sendo a implementação em Erlang (eMQTT) a que obteve melhor resultado em vazão de dados, enquanto a implementação em C (Mosquitto) apresentou a menor carga de processamento e consumo de memória.

Referências

Amazon Web Services (2016). AWS IoT. https://aws.amazon.com/pt/iot/. Acesso em 17/03/2016.

Collina, M., Bartolucci, M., Vanelli-Coralli, A., and Corazza, G. E. (2014). Internet of Things application layer protocol analysis over error and delay prone links. 2014 7th Advanced Satellite Multimedia Systems Conference and the 13th Signal Processing for Space Communications Workshop (ASMS/SPSC), pages 398–404.

Kovatsch, M., Lanter, M., and Shelby, Z. (2014). Californium: Scalable cloud services for the Internet of Things with CoAP. In 2014 International Conference on the Internet of Things (IOT), pages 1–6. IEEE.

Kruger, C. P., Abu-Mahfouz, A. M., and Hancke, G. P. (2015). Rapid prototyping of a wireless sensor network gateway for the internet of things using off-the-shelf componentes. In 2015 IEEE International Conference on Industrial Technology (ICIT), pages 1926–1931. IEEE.

Kruger, C. P. and Hancke, G. P. (2014). Benchmarking Internet of things devices. In 2014 12th IEEE International Conference on Industrial Informatics (INDIN), pages 611–616. IEEE.

Manyika, J., Chui, M., Bisson, P., Woetzel, J., Dobbs, R., Bughin, J., and Aharon, D. (2015). The Internet of Things: Mapping the value beyond the hype. McKinsey Global Institute, page 144.

MQTT Version 3.1.1 (2014). Edited by Andrew Banks and Rahul Gupta. OASIS Standard. http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html. Latest version: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html. Acesso em 06/04/2016.

Scalagent (2015). Benchmark of MQTT servers. Technical Report January.

Shelby, Z., Hartke, K., and Bormann, C. (2014). The constrained application protocol (coap). RFC 7252, RFC Editor. http://www.rfc-editor.org/rfc/rfc7252.txt. Acesso em 06/04/2016.

Singh, D., Tripathi, G., and Jara, A. J. (2014). A survey of Internet-of-Things: Future vision, architecture, challenges and services. 2014 IEEE World Forum on Internet of Things, WF-IoT 2014, pages 287–292.

Skerrett, I. (2015). Case Study MQTT: Why Open Source and Open Standards Drive Adoption. https://ianskerrett.wordpress.com/2015/03/04/case-study-mqtt-why-opensource-and-open-standards-drives-adoption/. Acessado em 16/11/2015.

Thangavel, D., Ma, X., Valera, A., Tan, H.-X., and Tan, C. K.-Y. (2014). Performance evaluation of MQTT and CoAP via a common middleware. In 2014 IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), pages 1–6. IEEE.

WAMP Draft 2 (2015). The Web Application Messaging Protocol. Technical report. https://tools.ietf.org/html/draft-oberstet-hybi-tavendo-wamp-02. Acesso em 06/04/2016.

Zhang, L. (2011). Building Facebook Messenger. https://www.facebook.com/notes/facebook-engineering/building-facebookmessenger/10150259350998920. Acesso em 16/11/2015.
Publicado
04/07/2016
Como Citar

Selecione um Formato
TORRES, Andrei B. B.; ROCHA, Atslands R.; DE SOUZA, José Neuman. Análise de Desempenho de Brokers MQTT em Sistema de Baixo Custo. In: WORKSHOP EM DESEMPENHO DE SISTEMAS COMPUTACIONAIS E DE COMUNICAÇÃO (WPERFORMANCE), 15. , 2016, Porto Alegre. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2016 . p. 2804-2815. ISSN 2595-6167. DOI: https://doi.org/10.5753/wperformance.2016.9727.