Choosing the serialization protocol for software development

Authors

  • Юліан Євгенович Грудзинський National Technical University of Ukraine «Kyiv Polytechnic Institute», Pobedy av. 37, Kyiv, Ukraine, 03056, Ukraine https://orcid.org/0000-0001-9220-0621
  • Роман Валерійович Марков National Technical University of Ukraine «Kyiv Polytechnic Institute», Pobedy av. 37, Kyiv, Ukraine, 03056, Ukraine https://orcid.org/0000-0001-9585-4401

DOI:

https://doi.org/10.15587/2312-8372.2016.66441

Keywords:

protocol, XML, JSON, Protobuf, serialization, parsing, packaging, binary

Abstract

As a result of the research it was determined the scope of application of modern data serialization protocols. Necessity for such work is due to the fact that currently there are many serialization protocols such as JSON, XML, Protobuf, presenting data in rows and binary serialization, which leads to errors of developer when selecting the most optimal serialization. After analyzing all the advantages and disadvantages of the above-mentioned protocol it was done conclusions about an application of these protocols for software development.

It is shown when you can use a simple and very popular serialization method using flat lines or simple binary serialization. The article answers the question under any circumstances it is used more sophisticated serialization, such as XML, JSON and new protocol Protobuf, shows the scope of application of these protocols. Its strengths and vulnerabilities are given that will help the developer of automated systems to choose the most effective one for his application.

The results are important on the stage of choosing competent technical solution about serialization by software developer, which increases the speed and security of data.

Author Biographies

Юліан Євгенович Грудзинський, National Technical University of Ukraine «Kyiv Polytechnic Institute», Pobedy av. 37, Kyiv, Ukraine, 03056

Senior Lecturer

Department of Automation of Heat and Power Engineering Processes

Роман Валерійович Марков, National Technical University of Ukraine «Kyiv Polytechnic Institute», Pobedy av. 37, Kyiv, Ukraine, 03056

Department of Automation of Heat and Power Engineering Processes

References

  1. PROTOBUF VS. BOOST: SERIALIZATION. (31.10.2013). Zhurnal «Haker». Available: https://xakep.ru/2013/10/31/protobuf-vs-boost-serialization/
  2. Elloit, R. (2001). XML. St. Peterburg: Symvol-Plius, 576.
  3. Vvedenie v JSON. (11.11.2011). Available: http://json.org/json-ru.html
  4. Json ili «Tuda i Obratno». (01.08.2014). Habrahabr. Available: https://habrahabr.ru/company/naumen/blog/228279/
  5. Protocol Buffers. Google Developers. Available: https://developers.google.com/protocol-buffers/. Last accessed: 05.01.2016.
  6. Protocol Buffer Basics: C++ (03.09.2014). Google Developers. Available: https://developers.google.com/protocol-buffers/docs/cpptutorial#why-use-protocol-buffers. Last accessed: 05.01.2016.
  7. Google Protocol Buffers in action (C++). (16.09.2012). Available: http://forums.4fips.com/viewtopic.php?f=3&t=807
  8. JSON i XML. Chto luchshe? (24.08.2007). Habrahabr. Available: https://habrahabr.ru/post/31225/
  9. Reasons to Use Protocol Buffers Instead of JSON For Your Next Service. (05.06.2014). Code Climate. Available: http://blog.codeclimate.com/blog/2014/06/05/choose-protocol-buffers/
  10. ProtoBuf.js vs JSON. (02.02.2015). GitHub, Inc. Available: https://github.com/dcodeIO/protobuf.js/wiki/ProtoBuf.js-vs-JSON
  11. COMPARING PROTOBUF, JSON, BSON, XML WITH .NET FOR FILE STREAMS. (09.01.2014). Software Engineering. Available: http://damienbod.com/2014/01/09/comparing-protobuf-json-bson-xml-with-net-for-file-streams/
  12. Esli vy eshche ispol'zuete JSON, to Google protobuf idet k vam! (27.11.2012). Dnevnik programmista. Available: http://knzsoft.blogspot.com/2012/11/protobuf.html
  13. Sopostavlenie JSON i XML. Microsoft. Available: https://msdn.microsoft.com/ru-ru/library/bb924435(v=vs.110).aspx. Last accessed: 01.02.2016.
  14. Kak serializovat' i deserializovat' dannye JSON. Microsoft. Available: https://msdn.microsoft.com/ru-ru/library/bb412179(v=vs.110).aspx. Last accessed: 01.02.2016.

Published

2016-03-29

How to Cite

Грудзинський, Ю. Є., & Марков, Р. В. (2016). Choosing the serialization protocol for software development. Technology Audit and Production Reserves, 2(2(28), 13–16. https://doi.org/10.15587/2312-8372.2016.66441

Issue

Section

Information Technologies: Original Research