HybOff: A Hybrid Offloading Approach to Improve Load Balancing in Fog Networks

Hamza Sulimani, Rahaf Sulimani, Fahimeh Ramezani, Mohsen Naderpour, Huan Huo, Tony Jan, Mukesh PrasadResearch Square 2023

Abstract

Load balancing is crucial in distributed systems like fog computing, where efficiency is paramount. Offloading with different approaches is the key to balancing the load in distributed environments. Static offloading (SOS) falls short in heterogeneous networks, necessitating dynamic offloading to reduce latency in time-sensitive tasks. However, prevalent dynamic offloading (DOS) solutions often come with hidden costs that impact sensitive applications, including decision time, networks congested and distance offloading. This paper introduces the Hybrid Offloading (HybOff) algorithm, which substantially enhances load balancing and resource utilization in fog networks, addressing issues in both static and dynamic approaches while leveraging clustering theory. Its goal is to create a uncomplicated low-cost offloading approach that enhances IoT application performance by eliminating the consequences of hidden costs regardless of network size. Experimental results using the iFogSim simulation tool show that HybOff significantly reduces offloading messages, distance, and decision-offloading consequences. It improves load balancing by 97%, surpassing SOS (64%) and DOS (88%). Additionally, it increases system utilization by an average of 50% and enhances system performance 1.6 times and 1.4 times more than SOS and DOS, respectively. In summary, HybOff substantially contributes to load balancing and offloading research in fog computing.

Introduction

Fog computing has emerged as a vital extension of cloud services, bringing computational power closer to the edge where IoT devices operate. This proximity is essential for supporting low-latency, time-sensitive applications such as autonomous driving, industrial automation, and real-time health monitoring. However, the distributed nature of fog nodes introduces significant challenges in workload management.

The three-layer architecture of Fog computing: Edge, Fog, and Cloud.

Traditional load balancing relies on either Static Offloading (SOS) or Dynamic Offloading (DOS). SOS is computationally inexpensive but lacks the flexibility to handle the unpredictable traffic patterns of heterogeneous networks. Conversely, DOS adapts to real-time changes but introduces "hidden costs"—decision-making latency, increased network congestion from status updates, and the risk of offloading tasks to geographically distant nodes. HybOff is designed to bridge this gap by combining the efficiency of static pairing with the adaptability of dynamic monitoring.

The HybOff Methodology

The HybOff algorithm employs a "central-distributed" architecture to optimize resource utilization while minimizing overhead. The process begins with Clustering, where the K-means algorithm groups adjacent fog servers into cells. This geographical grouping prevents the "distant offloading" problem by ensuring tasks remain within a localized cluster.

Within each cell, a Master-Follower Architecture is established. The Master node monitors the Resource Utilization (RU%) of its Followers. Instead of negotiating every task transfer in real-time, the Master periodically generates a Static Offloading Table (SOT). This table pairs overloaded ("heavy") servers with idle ("light") ones, creating Cooperating Paired Servers (CPDs).

Flowchart of the offloading decision process in the HybOff algorithm.

As shown in the logic flow, the system continuously evaluates if enough resources are available. If a node reaches a loaded state and resources are insufficient, the offloading process begins. HybOff further refines this by prioritizing Time-Sensitive Applications (TSAs) for local execution, while Heavy Applications (HAs) are partitioned and offloaded according to the pre-defined SOT. This hybrid execution model eliminates per-task decision delays, significantly reducing control message traffic.

Experimental Results and Discussion

The researchers evaluated HybOff using the iFogSim toolkit, simulating a network of up to 300 fog servers. The results indicate that HybOff provides a superior balance between overhead and performance:

  • Load Balancing Efficiency: HybOff achieved a 97% efficiency rate, a substantial improvement over SOS (64%) and DOS (88%).
  • System Performance: The algorithm proved to be 1.6 times faster than SOS and 1.4 times faster than DOS at a scale of 100 servers.
  • Resource Utilization: Overall system utilization increased by an average of 50%.
  • Scalability: Unlike DOS, which suffers from communication bottlenecks as the network grows, HybOff maintained stable performance even at 300 nodes due to its cell-based clustering.

Conclusion

HybOff addresses the critical "hidden costs" of dynamic offloading in fog networks. By leveraging clustering and periodic static pairing, it provides a low-cost, high-performance solution for IoT applications. While future work is needed to address scenarios where entire cells become saturated, HybOff represents a significant step forward in making fog computing more resilient and efficient for large-scale deployments.

Summary updated

BibTeX
@inproceedings{sulimani2023hyboff,
  author = {Hamza Sulimani and Rahaf Sulimani and Fahimeh Ramezani and Mohsen Naderpour and Huan Huo and Tony Jan and Mukesh Prasad},
  title = {{HybOff: A Hybrid Offloading Approach to Improve Load Balancing in Fog Networks}},
  booktitle = {Research Square},
  year = {2023},
  doi = {10.21203/rs.3.rs-3753775/v1},
}
Figure