This paper compares different data formats such as JSON, XML, YAML, MessagePack, and binary format in terms of their effectiveness in serializing and deserializing data. The aim is to identify the advantages and disadvantages of each format in storing the data extracted from the database into a HashMap and in manipulating it afterward. The tests include performance analysis, memory requirement, processing time, and size of generated files for each format. Detailed memory and CPI tracking were tested for each format, allowing detailed comparisons of processing costs and system resource usage. The results provide valuable insight for developers who need to select the appropriate format for their applications, taking into account performance and efficiency requirements.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Choosing the Right Data Format for Storing and Manipulating Database Data in HashMap

  • Andrea Meleková,
  • Michal Kvet

摘要

This paper compares different data formats such as JSON, XML, YAML, MessagePack, and binary format in terms of their effectiveness in serializing and deserializing data. The aim is to identify the advantages and disadvantages of each format in storing the data extracted from the database into a HashMap and in manipulating it afterward. The tests include performance analysis, memory requirement, processing time, and size of generated files for each format. Detailed memory and CPI tracking were tested for each format, allowing detailed comparisons of processing costs and system resource usage. The results provide valuable insight for developers who need to select the appropriate format for their applications, taking into account performance and efficiency requirements.