conference paper
Perfomance Evaluation of Java, JavaScript and PHP Serialization Libraries for XML, JSON and Binary Formats
- Title
- Perfomance Evaluation of Java, JavaScript and PHP Serialization Libraries for XML, JSON and Binary Formats
- Creator(s)
- Vanura, Jan
- Kriz, Pavel
- Editor(s)
- Ferreira, João Eduardo
- Spanoudakis, George
- Ma, Yutao
- Zhang, Liang-Jie
- Date
- 2018
- Is Part Of
- Services Computing – SCC 2018
- Pages
- 166-175
- Language
- eng
- Publisher
- Springer International Publishing
- Place Published
- Cham
- ISBN
- 978-3-319-94376-3
- Abstract
- The aim of this paper is to compare the formats and libraries used for serialization and deserialization of data, typically with RESTful web services, in terms of the processing time and size of the output data. The formats tested include XML, JSON, MessagePack, Avro, Protocol Buffers, and native serialization of each of the tested programming languages. Serialization and deserialization is tested in PHP, Java and JavaScript using 49 different official and third party libraries. The benchmark is fully open-sourced and automated, thus easily repeatable and extensible. The testing environment is designed to be isolated from the rest of the operating system using Docker containers having zero performance penalty in contrast to virtualization. The results show huge differences in processing time among libraries. Considering the output data size, binary formats with predefined schema, such as Avro and Protocol Buffers, provide the best efficiency.
Linked resources
A new website for the journal «Archeologia e Calcolatori
Academic Article
Export
Position: 1270 (8 views)