Tenorio Trigoso, AlonsoMondragón Ruiz, GiovannyCarrión, CarmenCaminero, BlancaCastillo Cara, José Manuel2024-05-202024-05-202021-10-060010-4620 eISSN 1460-2067https://doi.org/10.1093/comjnl/bxab143https://hdl.handle.net/20.500.14468/12311Information and communication technologies backbone of a smart city is an Internet of Things (IoT) application that combines technologies such as low power IoT networks, device management, analytics or event stream processing. Hence, designing an efficient IoT architecture for real-time IoT applications brings technical challenges that include the integration of application network protocols and data processing. In this context, the system scalability of two architectures has been analysed: the first architecture, named as POST architecture, integrates the hyper text transfer protocol with an Extract-Transform-Load technique, and is used as baseline; the second architecture, named as MQTT-CEP, is based on a publish-subscribe protocol, i.e. message queue telemetry transport, and a complex event processor engine. In this analysis, SAVIA, a smart city citizen security application, has been deployed following both architectural approaches. Results show that the design of the network protocol and the data analytic layer impacts highly in the Quality of Service experimented by the final IoT users. The experiments show that the integrated MQTT-CEP architecture scales properly, keeps energy consumption limited and thereby, promotes the development of a distributed IoT architecture based on constraint resources. The drawback is an increase in latency, mainly caused by the loosely coupled communication pattern of MQTT, but within reasonable levels which stabilize with increasing workloads.eninfo:eu-repo/semantics/openAccessAn Analysis of Computational Resources of Event-Driven Streaming Data Flow for Internet of Things: A Case Studyjournal articlesmart cityInternet of Thingsreal-time stream processingcomputing performancedata-driven analysiscomplex event processing