Performance Evaluation of a Dynamic RESTful API Using FastAPI, Docker and Nginx

This paper provides a performance evaluation of a dynamic RESTful API architecture suitable for IoT deployments. The framework, developed with Python's FastAPI, PostgreSQL, and Nginx and containerized with Docker, was tested for flexibility, reliability, and efficiency under various scenarios. The evaluation focused on key operational indicators such as response time, throughput, load handling, and security. Functional testing confirmed the functionality of essential API endpoints used for dynamic CRUD operations, providing consistent response accuracy. Load testing using Apache JMeter revealed that the system maintained an average response time of 95ms under moderate loads and could handle many concurrent requests with negligible performance deterioration, demonstrating its ability. The throughput remained consistent even at high traffic volumes, demonstrating its suitability for dynamic IoT applications. Security testing, aided by Nginx's rate-limiting feature, demonstrated the framework's resistance to popular threats such as SQL injection and DDoS. The results show that the dynamic API framework is ideal for expandable IoT installations, providing high availability, low latency, and responsiveness in real-time applications. These results demonstrate its capacity to handle demanding IoT scenarios while maintaining performance dependability and security. This paper provides the testing methods and performance results contributing to the framework's fit for real-world IoT use cases.

Authors

Institutions

Publication Details

Published
2024-12-04
DOI
https://doi.org/10.1109/gec61857.2024.10881712
Citations
5
Primary Topic
Mobile Agent-Based Network Management
Type
article
Field-Weighted Citation Impact
1.74
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance Evaluation of a Dynamic RESTful API Using FastAPI, Docker and Nginx

Nkateko Mabunda, Ahmed Abdi Yusuf Ali, Ebenhezer Mabotha
5 citations
Mobile Agent-Based Network Management
1.74
article

Performance Evaluation of a Dynamic RESTful API Using FastAPI, Docker and Nginx

Nkateko Mabunda, Ahmed Abdi Yusuf Ali, Ebenhezer Mabotha
article en
5 citations

Abstract

This paper provides a performance evaluation of a dynamic RESTful API architecture suitable for IoT deployments. The framework, developed with Python's FastAPI, PostgreSQL, and Nginx and containerized with Docker, was tested for flexibility, reliability, and efficiency under various scenarios. The evaluation focused on key operational indicators such as response time, throughput, load handling, and security. Functional testing confirmed the functionality of essential API endpoints used for dynamic CRUD operations, providing consistent response accuracy. Load testing using Apache JMeter revealed that the system maintained an average response time of 95ms under moderate loads and could handle many concurrent requests with negligible performance deterioration, demonstrating its ability. The throughput remained consistent even at high traffic volumes, demonstrating its suitability for dynamic IoT applications. Security testing, aided by Nginx's rate-limiting feature, demonstrated the framework's resistance to popular threats such as SQL injection and DDoS. The results show that the dynamic API framework is ideal for expandable IoT installations, providing high availability, low latency, and responsiveness in real-time applications. These results demonstrate its capacity to handle demanding IoT scenarios while maintaining performance dependability and security. This paper provides the testing methods and performance results contributing to the framework's fit for real-world IoT use cases.

University of Johannesburg (ZA)
Openalex Percentile: Top 13%
Mobile Agent-Based Network Management
1.74
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.