[Paper Review] Resource Management in Edge and Fog Computing using FogBus2 Framework
This paper proposes FogBus2, a lightweight, containerized framework for integrated resource management in heterogeneous edge, fog, and cloud environments. It enables dynamic scheduling of IoT workloads using customizable policies—demonstrated by a new ranking-based scheduler—achieving low latency, minimal resource usage (25–45 MB RAM), and sub-second startup times, making it ideal for real-time IoT applications and rapid prototyping in research and development.
Edge/Fog computing is a novel computing paradigm that provides resource-limited Internet of Things (IoT) devices with scalable computing and storage resources. Compared to cloud computing, edge/fog servers have fewer resources, but they can be accessed with higher bandwidth and less communication latency. Thus, integrating edge/fog and cloud infrastructures can support the execution of diverse latency-sensitive and computation-intensive IoT applications. Although some frameworks attempt to provide such integration, there are still several challenges to be addressed, such as dynamic scheduling of different IoT applications, scalability mechanisms, multi-platform support, and supporting different interaction models. FogBus2, as a new python-based framework, offers a lightweight and distributed container-based framework to overcome these challenges. In this chapter, we highlight key features of the FogBus2 framework alongside describing its main components. Besides, we provide a step-by-step guideline to set up an integrated computing environment, containing multiple cloud service providers (Hybrid-cloud) and edge devices, which is a prerequisite for any IoT application scenario. To obtain this, a low-overhead communication network among all computing resources is initiated by the provided scripts and configuration files. Next, we provide instructions and corresponding code snippets to install and run the main framework and its integrated applications. Finally, we demonstrate how to implement and integrate several new IoT applications and custom scheduling and scalability policies with the FogBus2 framework.
Motivation & Objective
- To address the limitations of centralized cloud computing in handling latency-sensitive, data-intensive IoT workloads.
- To provide a unified, extensible framework for integrating diverse IoT applications across heterogeneous edge, fog, and cloud infrastructures.
- To support dynamic scheduling and resource management with pluggable policies for optimal QoS in real-time and non-real-time IoT workloads.
- To enable researchers and developers to easily deploy, test, and extend IoT applications and scheduling algorithms in a lightweight, containerized environment.
Proposed method
- FogBus2 employs a microservices-based, Docker containerized architecture with five core components: User, Master, Actor, Task Executor, and Remote Logger, each with embedded message handlers for inter-component communication.
- The framework supports distributed deployment across multi-cloud, edge, and fog servers, enabling scalable and modular execution of IoT applications and resource management policies.
- A new ranking-based scheduling policy is implemented by extending the schedulerName configuration in the initSchedulerByName.py file, allowing dynamic selection of scheduling strategies.
- The framework integrates with existing IoT application types (real-time and non-real-time) and supports policy plug-ins via a modular component architecture.
- Resource usage and performance are evaluated using Docker image size, runtime RAM consumption, startup time, and response time across multiple hardware architectures.
Experimental results
Research questions
- RQ1How can a unified framework efficiently manage heterogeneous computing resources across edge, fog, and cloud layers in IoT systems?
- RQ2What are the performance characteristics of a lightweight, containerized framework like FogBus2 in terms of resource consumption and startup latency?
- RQ3How does the integration of a new ranking-based scheduling policy improve workload management in dynamic IoT environments?
- RQ4To what extent can FogBus2 support rapid prototyping and deployment of diverse IoT applications with minimal overhead?
Key findings
- FogBus2 components have a compressed Docker image size ranging from a few megabytes to a maximum of 100 MB, indicating low bandwidth requirements for deployment across diverse platforms.
- Average runtime RAM usage across components is low, ranging from 25 MB to 45 MB, confirming minimal memory footprint and efficiency on constrained devices.
- Startup times for FogBus2 components are sub-second, enabling rapid initialization and reinitialization—critical for iterative development and testing in research environments.
- The framework supports low-latency operation, with average response times for IoT applications reported in Figure 9, demonstrating suitability for real-time workloads.
- The integration of a new ranking-based scheduling policy is achieved through a modular configuration in initSchedulerByName.py, enabling extensibility and runtime policy selection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.