A Comparative Analysis of the Resource Consumption in Message Oriented Middleware with XML and Binary Encoded Messages

T. Aihkisalo, P. Valitalo
{"title":"A Comparative Analysis of the Resource Consumption in Message Oriented Middleware with XML and Binary Encoded Messages","authors":"T. Aihkisalo, P. Valitalo","doi":"10.1109/ICWMC.2008.40","DOIUrl":null,"url":null,"abstract":"The XML coded information is notorious for its verbosity over the actual effective payload. The solution for reducing the verbosity and the performance cost of XML has been the use of the alternative encoding schemes, other than pure text. The processing of the XML using computing resources sparingly is even more important in embedded, and otherwise restricted environments, when the services of the enterprise domain are extended to the mobile wireless domain. This paper presents and studies the empirical results of computational resource consumption by benchmarking of an implementation of the Message Oriented Middleware, MOM. This MOM solution defines and implements a service and application level messaging protocol and appropriate middleware. The benchmarked MOM implementation provides XML and two alternative binary encoding presentations for the messages, a proprietary binary encoding and an XBIS encoding. The message encoding schemes are compared by considering message compression, protocol overhead and measured computing resource usage. The measured computing resource usage includes CPU processing load and memory consumption. The results show the advantage of the binary encoding over the traditional XML, in most cases. However, the study also showed how XML is preferred for the lengthy messages that have a higher share of payload data.","PeriodicalId":308667,"journal":{"name":"2008 The Fourth International Conference on Wireless and Mobile Communications","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 The Fourth International Conference on Wireless and Mobile Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICWMC.2008.40","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

The XML coded information is notorious for its verbosity over the actual effective payload. The solution for reducing the verbosity and the performance cost of XML has been the use of the alternative encoding schemes, other than pure text. The processing of the XML using computing resources sparingly is even more important in embedded, and otherwise restricted environments, when the services of the enterprise domain are extended to the mobile wireless domain. This paper presents and studies the empirical results of computational resource consumption by benchmarking of an implementation of the Message Oriented Middleware, MOM. This MOM solution defines and implements a service and application level messaging protocol and appropriate middleware. The benchmarked MOM implementation provides XML and two alternative binary encoding presentations for the messages, a proprietary binary encoding and an XBIS encoding. The message encoding schemes are compared by considering message compression, protocol overhead and measured computing resource usage. The measured computing resource usage includes CPU processing load and memory consumption. The results show the advantage of the binary encoding over the traditional XML, in most cases. However, the study also showed how XML is preferred for the lengthy messages that have a higher share of payload data.
基于XML和二进制编码消息的面向消息中间件资源消耗的比较分析
XML编码的信息因其比实际有效负载冗长而臭名昭著。减少XML冗长性和性能成本的解决方案是使用替代的编码模式,而不是纯文本。当企业领域的服务扩展到移动无线领域时,在嵌入式和其他受限制的环境中,节省使用计算资源处理XML更加重要。本文通过对一个面向消息的中间件(Message Oriented Middleware, MOM)的实现进行基准测试,给出并研究了计算资源消耗的实证结果。此MOM解决方案定义并实现了服务和应用程序级消息传递协议以及适当的中间件。基准化的MOM实现为消息提供了XML和两种可选的二进制编码表示,一种是专有二进制编码,一种是XBIS编码。通过考虑消息压缩、协议开销和测量的计算资源使用情况,对消息编码方案进行了比较。测量的计算资源使用情况包括CPU处理负载和内存消耗。结果显示,在大多数情况下,二进制编码优于传统的XML。然而,该研究还显示了XML如何更适合具有较高负载数据份额的长消息。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信