Perfomance evaluation of Java, JavaScript and PHP serialization libraries for XML, JSON and binary formats

7Citations
Citations of this article
24Readers
Mendeley users who have this article in their library.
Get full text

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.

Cite

CITATION STYLE

APA

Vanura, J., & Kriz, P. (2018). Perfomance evaluation of Java, JavaScript and PHP serialization libraries for XML, JSON and binary formats. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 10969 LNCS, pp. 166–175). Springer Verlag. https://doi.org/10.1007/978-3-319-94376-3_11

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free