Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies

The REST (REpresentational State Transfer) paradigm has become essential for designing distributed applications that leverage the HTTP protocol, enabling efficient data exchange and the development of scalable architectures such as microservices. However, selecting an appropriate framework among the...

Full description

Saved in:
Bibliographic Details
Main Authors: Sergio Di Meglio, Luigi Libero Lucio Starace
Format: Article
Language:English
Published: IEEE 2024-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/10741246/
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1846162928198221824
author Sergio Di Meglio
Luigi Libero Lucio Starace
author_facet Sergio Di Meglio
Luigi Libero Lucio Starace
author_sort Sergio Di Meglio
collection DOAJ
description The REST (REpresentational State Transfer) paradigm has become essential for designing distributed applications that leverage the HTTP protocol, enabling efficient data exchange and the development of scalable architectures such as microservices. However, selecting an appropriate framework among the myriad available options, especially given the diversity of emerging execution environments, presents a significant challenge. Often, this decision neglects crucial factors such as performance and energy efficiency, favoring instead developer familiarity and popularity within the industry. To address this, we conducted a comprehensive benchmark study using a prototype REST API application provided by an industry partner, which was implemented multiple times using different REST API frameworks. We evaluated five different REST API frameworks across three popular programming languages, incorporating both traditional and emerging execution environments, resulting in twelve distinct configurations. Our results reveal significant differences in performance and computational resource consumption across different frameworks and execution environments, highlighting the necessity of making informed technology choices based on thorough analysis rather than convenience or familiarity. In addition to our findings, we offer other contributions to the field: an automated pipeline that benchmarks different configurations with various frameworks and execution environments, and a reference benchmark REST API that can be used in other studies. This research provides valuable insights and tools for developers and organizations aiming to select high-performance, resource-efficient technologies that promote environmental sustainability and reduce operational costs.
format Article
id doaj-art-b8024eacd4c645c8a8150b04b3bfdc93
institution Kabale University
issn 2169-3536
language English
publishDate 2024-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj-art-b8024eacd4c645c8a8150b04b3bfdc932024-11-20T00:00:35ZengIEEEIEEE Access2169-35362024-01-011216164916166910.1109/ACCESS.2024.348989210741246Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and CompaniesSergio Di Meglio0https://orcid.org/0009-0002-2224-4631Luigi Libero Lucio Starace1https://orcid.org/0000-0001-7945-9014Department of Electrical Engineering and Information Technology, Università degli Studi di Napoli Federico II, Naples, ItalyDepartment of Electrical Engineering and Information Technology, Università degli Studi di Napoli Federico II, Naples, ItalyThe REST (REpresentational State Transfer) paradigm has become essential for designing distributed applications that leverage the HTTP protocol, enabling efficient data exchange and the development of scalable architectures such as microservices. However, selecting an appropriate framework among the myriad available options, especially given the diversity of emerging execution environments, presents a significant challenge. Often, this decision neglects crucial factors such as performance and energy efficiency, favoring instead developer familiarity and popularity within the industry. To address this, we conducted a comprehensive benchmark study using a prototype REST API application provided by an industry partner, which was implemented multiple times using different REST API frameworks. We evaluated five different REST API frameworks across three popular programming languages, incorporating both traditional and emerging execution environments, resulting in twelve distinct configurations. Our results reveal significant differences in performance and computational resource consumption across different frameworks and execution environments, highlighting the necessity of making informed technology choices based on thorough analysis rather than convenience or familiarity. In addition to our findings, we offer other contributions to the field: an automated pipeline that benchmarks different configurations with various frameworks and execution environments, and a reference benchmark REST API that can be used in other studies. This research provides valuable insights and tools for developers and organizations aiming to select high-performance, resource-efficient technologies that promote environmental sustainability and reduce operational costs.https://ieeexplore.ieee.org/document/10741246/Execution environmentsgreen computingperformance benchmarkperformance testingREST APIREST API frameworks
spellingShingle Sergio Di Meglio
Luigi Libero Lucio Starace
Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies
IEEE Access
Execution environments
green computing
performance benchmark
performance testing
REST API
REST API frameworks
title Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies
title_full Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies
title_fullStr Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies
title_full_unstemmed Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies
title_short Evaluating Performance and Resource Consumption of REST Frameworks and Execution Environments: Insights and Guidelines for Developers and Companies
title_sort evaluating performance and resource consumption of rest frameworks and execution environments insights and guidelines for developers and companies
topic Execution environments
green computing
performance benchmark
performance testing
REST API
REST API frameworks
url https://ieeexplore.ieee.org/document/10741246/
work_keys_str_mv AT sergiodimeglio evaluatingperformanceandresourceconsumptionofrestframeworksandexecutionenvironmentsinsightsandguidelinesfordevelopersandcompanies
AT luigiliberoluciostarace evaluatingperformanceandresourceconsumptionofrestframeworksandexecutionenvironmentsinsightsandguidelinesfordevelopersandcompanies