Performance Analysis of Message Broker for Communication in Fog Computing

Aditya Bagaskara, Setyorini Setyorini, Aulia Arif Wardana
{"title":"Performance Analysis of Message Broker for Communication in Fog Computing","authors":"Aditya Bagaskara, Setyorini Setyorini, Aulia Arif Wardana","doi":"10.1109/ICITEE49829.2020.9271733","DOIUrl":null,"url":null,"abstract":"In this research, performance testing is performed between the two most popular message brokers, which commonly used in the enterprise, namely RabbitMQ and Apache Kafka in the fog computing environment. REST API is a method that implements the HTTP protocol and commonly used in the Internet of Things as a communication media between devices. Hence the performance will degrade when the amount of request is abundant and less reliable due to its synchronous communication. By using a message broker as the medium of communication between devices in fog computing, each connected device will not rely on each other and will make the message delivery more guaranteed. By reason, this research will implement a message broker for communication between devices in fog computing. Today there are many message brokers developed by various companies or communities. Choosing an unsuitable message broker can cause performance degradation, which results in a chaotic IoT system. The test results show that Apache Kafka has a higher throughput than RabbitMQ when the message size is calculable. However, when the message size is myriad, RabbitMQ is much better because the bottleneck of disk I/O usage occurred in Kafka. Nevertheless, in latency testing, RabbitMQ is always better even though the difference is not too far. This testing can also be concluded that the use of message broker in fog computing that extends the cloud computing architecture proven effective in implementing the IoT system.","PeriodicalId":245013,"journal":{"name":"2020 12th International Conference on Information Technology and Electrical Engineering (ICITEE)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-10-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 12th International Conference on Information Technology and Electrical Engineering (ICITEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICITEE49829.2020.9271733","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

In this research, performance testing is performed between the two most popular message brokers, which commonly used in the enterprise, namely RabbitMQ and Apache Kafka in the fog computing environment. REST API is a method that implements the HTTP protocol and commonly used in the Internet of Things as a communication media between devices. Hence the performance will degrade when the amount of request is abundant and less reliable due to its synchronous communication. By using a message broker as the medium of communication between devices in fog computing, each connected device will not rely on each other and will make the message delivery more guaranteed. By reason, this research will implement a message broker for communication between devices in fog computing. Today there are many message brokers developed by various companies or communities. Choosing an unsuitable message broker can cause performance degradation, which results in a chaotic IoT system. The test results show that Apache Kafka has a higher throughput than RabbitMQ when the message size is calculable. However, when the message size is myriad, RabbitMQ is much better because the bottleneck of disk I/O usage occurred in Kafka. Nevertheless, in latency testing, RabbitMQ is always better even though the difference is not too far. This testing can also be concluded that the use of message broker in fog computing that extends the cloud computing architecture proven effective in implementing the IoT system.
雾计算中通信消息代理的性能分析
在本研究中,在雾计算环境下,对企业中最常用的两种消息代理(RabbitMQ和Apache Kafka)进行了性能测试。REST API是一种实现HTTP协议的方法,是物联网中常用的设备间通信媒介。因此,当请求量较大时,性能会下降,并且由于其同步通信而可靠性降低。通过使用消息代理作为雾计算中设备之间的通信媒介,每个连接的设备将不依赖于彼此,并且将使消息传递更有保障。因此,本研究将实现一种用于雾计算中设备间通信的消息代理。现在有许多由不同公司或社区开发的消息代理。选择不合适的消息代理会导致性能下降,从而导致物联网系统混乱。测试结果表明,当消息大小可计算时,Apache Kafka具有比RabbitMQ更高的吞吐量。然而,当消息大小是无数的时候,RabbitMQ要好得多,因为磁盘I/O使用的瓶颈发生在Kafka中。尽管如此,在延迟测试中,RabbitMQ总是更好,尽管差别并不大。该测试还可以得出结论,在雾计算中使用扩展云计算架构的消息代理在实现物联网系统方面被证明是有效的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信