Con-Pi: A Distributed Container-based Edge and Fog Computing Framework

Redowan Mahmud,Adel N. Toosi
DOI: https://doi.org/10.1109/JIOT.2021.3103053
2021-08-09
Abstract:Edge and Fog computing paradigms overcome the limitations of cloud-centric execution for different latency-sensitive Internet of Things (IoT) applications by offering computing resources closer to the data sources. Small single-board computers (SBCs) like Raspberry Pis (RPis) are widely used as computing nodes in both paradigms. These devices are usually equipped with moderate speed processors and provide support for peripheral interfacing and networking, making them well-suited to deal with IoT-driven operations such as data sensing, analysis, and actuation. However, these small Edge devices are constrained in facilitating multi-tenancy and resource sharing. The management of computing and peripheral resources through centralized entities further degrades their performance and service quality significantly. To address these issues, a fully distributed framework, named Con-Pi, is proposed in this work to manage resources at the Edge or Fog environments. Con-Pi exploits the concept of containerization and harnesses Docker containers to run IoT applications as micro-services. %Moreover, Con-Pi operates in a distributed manner across multiple RPis and enables them to share resources. The software system of the proposed framework also provides a scope to integrate different IoT applications, resource and energy management policies for Edge and Fog computing. Its performance is compared with the state-of-the-art frameworks through real-world experiments. The experimental results show that Con-Pi outperforms others in enhancing response time and managing energy usage and computing resources through its distributed offloading model. Further, we have developed an automated pest bird deterrent system using Con-Pi to demonstrate its suitability in developing practical solutions for various IoT-enabled use cases, including smart agriculture.
Distributed, Parallel, and Cluster Computing
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to effectively manage and share computing resources using single - board computers (such as Raspberry Pi) in edge - computing and fog - computing environments, while supporting multi - tenancy and resource sharing and improving the quality of service (QoS), especially in the case of limited resources of these devices. Specifically, the paper proposes a fully - distributed framework named Con - Pi, which aims to run Internet - of - Things applications as microservices through containerization technologies (such as Docker containers), thereby overcoming the limitations of existing frameworks in terms of resource management, energy efficiency, and multi - tenancy support. Con - Pi not only provides a service - oriented architecture, making it highly scalable, but also supports the creation of different topologies (such as mesh and hierarchical structures) and promotes resource sharing among multiple SBCs. In addition, Con - Pi also supports obtaining energy from renewable sources (such as solar energy) and managing the energy - storage devices (such as batteries) of SBCs. In this way, Con - Pi aims to improve response time, optimize energy use and computing - resource management, thus providing practical solutions for various Internet - of - Things - enabled application scenarios (such as the pest - bird - repelling system in smart agriculture).