估计Java对象的XML序列化的成本

Gábor Imre, H. Charaf, L. Lengyel
{"title":"估计Java对象的XML序列化的成本","authors":"Gábor Imre, H. Charaf, L. Lengyel","doi":"10.1109/ECBS-EERC.2013.13","DOIUrl":null,"url":null,"abstract":"XML is a frequently applied data representation format to support the communication between software systems even if they are on different platforms. The process of transforming an in-memory object instance into bytes of an XML document is called XML serialization, the opposite direction is XML deserialization. Both processes introduce some cost that influences the overhead of the communication. This paper proposes a performance model that can estimate the cost of XML serialization and deserialization on Java platform based on a priori knowledge of the type and size of the XML messages. Type and size information of the XML messages is usually available in the form of an interface definition, such as a Web Services Description Language (WSDL) file. We show that in most cases the cost can be expressed as a linear function of the object size, but exceptions are discussed as well. The suggested model is validated with measurements.","PeriodicalId":314029,"journal":{"name":"2013 3rd Eastern European Regional Conference on the Engineering of Computer Based Systems","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2013-08-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Estimating the Cost of XML Serialization of Java Objects\",\"authors\":\"Gábor Imre, H. Charaf, L. Lengyel\",\"doi\":\"10.1109/ECBS-EERC.2013.13\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"XML is a frequently applied data representation format to support the communication between software systems even if they are on different platforms. The process of transforming an in-memory object instance into bytes of an XML document is called XML serialization, the opposite direction is XML deserialization. Both processes introduce some cost that influences the overhead of the communication. This paper proposes a performance model that can estimate the cost of XML serialization and deserialization on Java platform based on a priori knowledge of the type and size of the XML messages. Type and size information of the XML messages is usually available in the form of an interface definition, such as a Web Services Description Language (WSDL) file. We show that in most cases the cost can be expressed as a linear function of the object size, but exceptions are discussed as well. The suggested model is validated with measurements.\",\"PeriodicalId\":314029,\"journal\":{\"name\":\"2013 3rd Eastern European Regional Conference on the Engineering of Computer Based Systems\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-08-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 3rd Eastern European Regional Conference on the Engineering of Computer Based Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ECBS-EERC.2013.13\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 3rd Eastern European Regional Conference on the Engineering of Computer Based Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ECBS-EERC.2013.13","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

XML是一种常用的数据表示格式,用于支持软件系统之间的通信,即使它们位于不同的平台上。将内存中的对象实例转换为XML文档字节的过程称为XML序列化,与之相反的方向是XML反序列化。这两个过程都会引入一些影响通信开销的成本。本文提出了一个性能模型,该模型可以基于对XML消息类型和大小的先验知识来估计Java平台上XML序列化和反序列化的成本。XML消息的类型和大小信息通常以接口定义的形式提供,例如Web服务描述语言(WSDL)文件。我们表明,在大多数情况下,成本可以表示为对象大小的线性函数,但也讨论了例外情况。通过实测验证了该模型的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Estimating the Cost of XML Serialization of Java Objects
XML is a frequently applied data representation format to support the communication between software systems even if they are on different platforms. The process of transforming an in-memory object instance into bytes of an XML document is called XML serialization, the opposite direction is XML deserialization. Both processes introduce some cost that influences the overhead of the communication. This paper proposes a performance model that can estimate the cost of XML serialization and deserialization on Java platform based on a priori knowledge of the type and size of the XML messages. Type and size information of the XML messages is usually available in the form of an interface definition, such as a Web Services Description Language (WSDL) file. We show that in most cases the cost can be expressed as a linear function of the object size, but exceptions are discussed as well. The suggested model is validated with measurements.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Selection and Prioritization of Test Cases by Combining White-Box and Black-Box Testing Methods Parallel Processing of Multichannel Video Based on Multicore Architecture Tracing the Interdependencies between Architecture and Organization in Goal-Oriented Extensible Models Data Type Propagation in Simulink Models with Graph Transformation The Analysis of BitTorrent Protocol Reliability in Modern Mobile Environment
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1