Abstract:
This paper provides a performance evaluation of a dynamic RESTful API architecture suitable for IoT deployments. The framework, developed with Python's FastAPI, PostgreSQ...Show MoreMetadata
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.
Published in: 2024 Global Energy Conference (GEC)
Date of Conference: 04-06 December 2024
Date Added to IEEE Xplore: 20 February 2025
ISBN Information: