Published February 12, 2024 | Version v1
Journal article Open

Microservices and serverless functions—lifecycle, performance, and resource utilisation of edge based real-time IoT analytics

  • 1. ROR icon University of Westminster
  • 2. ROR icon University College London
  • 3. ROR icon University of Messina

Description

Edge Computing harnesses resources close to the data sources to reduce end-to-end latency and allow real-time process automation for verticals such as Smart City, Healthcare and Industry 4.0. Edge resources are limited when compared to traditional Cloud data centres; hence the choice of proper resource management strategies in this context becomes paramount. Microservice and Function as a Service architectures support modular and agile patterns, compared to a monolithic design, through lightweight containerisation, continuous integration / deployment and scaling. The advantages brought about by these technologies may initially seem obvious, but we argue that their usage at the Edge deserves a more in-depth evaluation. By analysing both the software development and deployment lifecycle, along with performance and resource utilisation, this paper explores microservices and two alternative types of serverless functions to build edge real-time IoT analytics. In the experiments comparing these technologies, microservices generally exhibit slightly better end-to-end processing latency and resource utilisation than serverless functions. One of the serverless functions and the microservices excel at handling larger data streams with auto-scaling. Whilst serverless functions natively offer this feature, the choice of container orchestration framework may determine its availability for microservices. The other serverless function, while supporting a simpler lifecycle, is more suitable for low-invocation scenarios and faces challenges with parallel requests and inherent overhead, making it less suitable for real-time processing in demanding IoT settings.

Files

1-s2.0-S0167739X24000529-main.pdf

Files (1.3 MB)

Name Size Download all
md5:f14d4e2de5c26e781153f720ee848189
1.3 MB Preview Download

Additional details

Funding

UK Research and Innovation
Application-level Swarm-based Orchestration Across the Cloud-to-Edge Continuum 10101169
UK Research and Innovation
SWARMCHESTRATE - APPLICATION-LEVEL SWARM-BASED ORCHESTRATION ACROSS THE CLOUD-TO-EDGE CONTINUUM 10102651
European Commission
Swarmchestrate - Application-level Swarm-based Orchestration Across the Cloud-to-Edge Continuum 101135012