loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Anas Shatnawi ; Adem Bahri ; Boubou Thiam Niang and Benoit Verhaeghe

Affiliation: Berger-Levrault, Mauguio, France

Keyword(s): REST Services, Data Serialization, JSON, Protocol Buffers, Software Transformation, Migration.

Abstract: Data serialization efficiency is crucial for optimizing web application performance. JSON is widely used due to its compatibility with REST services, but its text-based format often introduces performance limitations. As web applications grow more complex and distributed, the need for more efficient serialization methods becomes evident. Protocol Buffers (Protobuf) has demonstrated significant improvements in reducing payload size and enhancing serialization/deserialization speed compared to JSON. To improve the performance and optimize resource utilization of existing web applications, the JSON data serialization approach of their REST services should be migrated to Protobuf. Existing migration approaches emphasize manual processes, which can be time-consuming and error-prone. In this paper, we propose a semi-automated approach to migrating the data serialization of existing REST services from JSON to Protobuf. Our approach refactors existing REST codebases to use Protobuf. It is ev aluated on two web applications. The results show a reduction in payload size by 60% to 80%, leading to an 80% improvement in response time, a 17% decrease in CPU utilization, and an 18% reduction in energy consumption, all with no additional memory overhead. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 216.73.216.108

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Shatnawi, A., Bahri, A., Niang, B. T., Verhaeghe and B. (2025). Enhancing Data Serialization Efficiency in REST Services: Migrating from JSON to Protocol Buffers. In Proceedings of the 20th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-757-3; ISSN 2184-2833, SciTePress, pages 193-200. DOI: 10.5220/0013459500003964

@conference{icsoft25,
author={Anas Shatnawi and Adem Bahri and Boubou Thiam Niang and Benoit Verhaeghe},
title={Enhancing Data Serialization Efficiency in REST Services: Migrating from JSON to Protocol Buffers},
booktitle={Proceedings of the 20th International Conference on Software Technologies - ICSOFT},
year={2025},
pages={193-200},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013459500003964},
isbn={978-989-758-757-3},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 20th International Conference on Software Technologies - ICSOFT
TI - Enhancing Data Serialization Efficiency in REST Services: Migrating from JSON to Protocol Buffers
SN - 978-989-758-757-3
IS - 2184-2833
AU - Shatnawi, A.
AU - Bahri, A.
AU - Niang, B.
AU - Verhaeghe, B.
PY - 2025
SP - 193
EP - 200
DO - 10.5220/0013459500003964
PB - SciTePress