Reactive Load Balancing for Sentient Spaces in Absence of Cloud and Fog
Abstract
1. Introduction
- A load balancing algorithm based on local feasibility checks and reactive cooperation with neighboring nodes;
- A cooperation infrastructure among neighboring nodes, which enables two key phases:
- –
- Discovering neighboring nodes that are available to support a node in computation when its local workload risks violating the application deadline;
- –
- Performing task offloading among nodes without relying on a centralized intermediate node, laying the foundation for a communication framework that does not share sensitive data with third-party elements.
2. Related Works
- Requirement R1—Nodes may operate in loosely connected and dynamically varying groups, where central coordination is not always feasible and neighbor availability can fluctuate significantly [1]. This implies that the load balancing strategy must explicitly account for such conditions by incorporating mechanisms for neighbor awareness and dynamic discovery of available resources.
- Requirement R2—Nodes are typically resource-constrained, imposing computational limitations that restrict their ability to process workloads locally. This implies that the load balancing strategy must be lightweight, avoiding complex optimization techniques or computationally intensive models.
3. The Proposed Approach
- Nodes are primarily intended for advertising and user assistance applications;
- Nodes are continuously powered (i.e., not battery-constrained), and energy consumption is not considered a limiting factor;
- Not all nodes can directly communicate with each other; instead, localized groups of nodes may form communication clusters, reflecting real-world conditions where physical separation (e.g., walls, layout zones) limits connectivity within the commercial mall;
- All tasks are associated with soft real-time deadlines, where deadline violations may degrade the overall quality of service [15].
- Underlying Principle
- A load balancing algorithm based on local feasibility checks and reactive cooperation with neighboring nodes;
- A cooperation infrastructure among neighboring nodes that enables the discovery of nodes available to support computation when the local workload risks violating the application deadline, and the execution of task offloading to achieve load balancing through workload sharing among neighbors.
3.1. System and Execution Model
3.1.1. System Model
3.1.2. Execution Model
- the local CPU of node , with worst-case observed execution time ;
- the local FPGA of node , with worst-case observed execution time ;
- if the job is parallelizable and therefore offloadable, the FPGA of a remote node , with worst-case observed execution time , provided that has previously announced its availability and that is the communication time required to transfer job data between local node and remote node.
3.1.3. Application-Layer Dependency Management
- follows the correct order of task activation, based on the known task dependencies;
- executes each job on the resource assigned to it by the load balancing algorithm.
3.2. Load Balancing Algorithm
Algorithm 1 Load Balancing Algorithm |
|
3.3. Cooperation Infrastructure
- Neighbor discovery and FPGA availability: announcing FPGA availability to other nodes (Line 7) and identifying neighboring nodes with available FPGA resources (Line 27);
- Task offloading: transmitting the necessary data to selected neighboring nodes once they are involved in the scheduling process.
- (i)
- When two computing nodes need to exchange sensitive information, communication must not involve any third-party intermediaries in order to preserve data privacy. Conversely, for non-sensitive information, the involvement of third-party nodes may be acceptable.
- (ii)
- In the context of task offloading, data exchanged in sentient spaces often includes information extracted from video frames, images, or audio recordings, potentially reaching sizes of several megabytes. Therefore, the communication technology must provide sufficient bandwidth to support such data transfers within the soft real-time deadlines typical of these environments. Deadlines in sentient space applications commonly range from 0.1 s to 1.5 s [20,21].
- (iii)
- Nodes are often nomadic and may be deployed in diverse and dynamically changing physical locations throughout the environment.
3.3.1. Neighbor Discovery and FPGA Availability
3.3.2. Task Offloading
4. Experimental Activities
4.1. System Composition
4.1.1. Informative Totem Node Architecture
4.1.2. Roof Node Architecture
4.1.3. Roof–Totem Interaction
4.2. Characterization of Workloads
4.3. Application of the Proposed Load Balancer
4.3.1. Scenario 1: One Totem and Four Roof Nodes
- and are the applications executed by the system. is the informative totem node, and are the roof nodes. The mapping is defined as and .
- The application executes the following tasks: .
- The execution times of corresponding tasks part of are as follows:
- The communication overhead is , computed as the sum of the last two columns of Table 3.
4.3.2. Scenario 2: Three Totems and One Roof Node
4.4. Discussion
4.4.1. Comparison with Related Work
4.4.2. Applicability, Scalability, and Limitations
5. Conclusions and Future Work
Author Contributions
Funding
Conflicts of Interest
References
- Torrens, P.M. Smart and Sentient Retail High Streets. Smart Cities 2022, 5, 1670–1720. [Google Scholar] [CrossRef]
- van Steen, M.; Tanenbaum, A.S. Distributed Systems, 3rd ed.; Createspace Independent Publishing Platform: Scotts Valley, CA, USA, 2017; Available online: https://www.distributed-systems.net/index.php/books/ds3/ (accessed on 1 August 2025).
- Mehrabi, A.; Siekkinen, M.; Ylä-Jääski, A. Edge Computing Assisted Adaptive Mobile Video Streaming. IEEE Trans. Mob. Comput. 2019, 18, 787–800. [Google Scholar] [CrossRef]
- Sthapit, S.; Hopgood, J.R.; Robertson, N.M.; Thompson, J. Offloading to neighbouring nodes in smart camera network. In Proceedings of the 2016 24th European Signal Processing Conference (EUSIPCO), Budapest, Hungary, 29 August–2 September 2016; pp. 1823–1827. [Google Scholar] [CrossRef]
- Wu, H.; Knottenbelt, W.; Wolter, K. Analysis of the Energy-Response Time Tradeoff for Mobile Cloud Offloading Using Combined Metrics. In Proceedings of the 2015 27th International Teletraffic Congress, Ghent, Belgium, 8–10 September 2015; pp. 134–142. [Google Scholar] [CrossRef]
- Yi, S.; Li, C.; Li, Q. A Survey of Fog Computing: Concepts, Applications and Issues. In Proceedings of the 2015 Workshop on Mobile Big Data (Mobidata ’15), Hangzhou, China, 21 June 2015; pp. 37–42. [Google Scholar] [CrossRef]
- Niu, X.; Shao, S.; Xin, C.; Zhou, J.; Guo, S.; Chen, X.; Qi, F. Workload Allocation Mechanism for Minimum Service Delay in Edge Computing-Based Power Internet of Things. IEEE Access 2019, 7, 83771–83784. [Google Scholar] [CrossRef]
- Xu, X.; Fu, S.; Cai, Q.; Tian, W.; Liu, W.; Dou, W.; Sun, X.; Liu, A.X. Dynamic Resource Allocation for Load Balancing in Fog Environment. Wireless Commun. Mob. Comput. 2018, 2018, 6421607. [Google Scholar] [CrossRef]
- Fan, Q.; Ansari, N. Towards Traffic Load Balancing in Drone-Assisted Communications for IoT. IEEE Internet Things J. 2019, 6, 3633–3640. [Google Scholar] [CrossRef]
- Asif-Ur-Rahman, M.; Afsana, F.; Mahmud, M.; Kaiser, M.S.; Ahmed, M.R.; Kaiwartya, O.; James-Taylor, A. Toward a Heterogeneous Mist, Fog, and Cloud-Based Framework for the Internet of Healthcare Things. IEEE Internet Things J. 2019, 6, 4049–4062. [Google Scholar] [CrossRef]
- Li, J.; Luo, G.; Cheng, N.; Yuan, Q.; Wu, Z.; Gao, S.; Liu, Z. An End-to-End Load Balancer Based on Deep Learning for Vehicular Network Traffic Control. IEEE Internet Things J. 2019, 6, 953–966. [Google Scholar] [CrossRef]
- Lu, H.; Gu, C.; Luo, F.; Ding, W.; Liu, X. Optimization of lightweight task offloading strategy for mobile edge computing based on deep reinforcement learning. Future Gener. Comput. Syst. 2020, 102, 847–861. [Google Scholar] [CrossRef]
- Sthapit, S.; Thompson, J.; Robertson, N.M.; Hopgood, J.R. Computational Load Balancing on the Edge in Absence of Cloud and Fog. IEEE Trans. Mob. Comput. 2019, 18, 1499–1512. [Google Scholar] [CrossRef]
- Dong, S.; Xia, Y.; Kamruzzaman, J. Quantum Particle Swarm Optimization for Task Offloading in Mobile Edge Computing. IEEE Trans. Ind. Inform. 2023, 19, 9113–9122. [Google Scholar] [CrossRef]
- Ben Mabrouk, N.; Beauche, S.; Kuznetsova, E.; Georgantas, N.; Issarny, V. QoS-Aware Service Composition in Dynamic Service Oriented Environments. In Middleware 2009; Bacon, J.M., Cooper, B.F., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; pp. 123–142. [Google Scholar] [CrossRef]
- Xilinx. Zynq UltraScale+ Technical Reference Manual. Available online: https://docs.amd.com/r/en-US/ug1085-zynq-ultrascale-trm (accessed on 1 August 2025).
- Microchip. PolarFire SoC. Available online: https://github.com/polarfire-soc (accessed on 1 August 2025).
- Achronix. Speedster7t. Available online: https://www.achronix.com/product/speedster7t-fpgas (accessed on 1 August 2025).
- Intel. Agilex 7. Available online: https://iwave-global.com/product/agilex-7-r31b-r31c-soc-fpga-system-on-module/ (accessed on 1 August 2025).
- Miller, R.B. Response time in man-computer conversational transactions. In Proceedings of the Fall Joint Computer Conference, Part I (AFIPS ’68 (Fall, Part I)), New York, NY, USA, 9–11 December 1968; pp. 267–277. [Google Scholar] [CrossRef]
- VCCP. Challenger Series—Hacking the Attention Economy Morning Book. Available online: https://pages.vccp.com/hubfs/Challenger%20Series%20-%20Hacking%20the%20Attention%20Economy%20Morning%20Book.pdf?ref=denkalseenstrateeg.nl (accessed on 1 August 2025).
- Peretti, S.; Caruso, F.; Valente, G.; Pomante, L.; Di Mascio, T. Educating artificial intelligence following the child learning development trajectories. Behav. Inf. Technol. 2025. [Google Scholar] [CrossRef]
- Digilent. Pmod ESP32 Reference Manual. Available online: https://digilent.com/reference/pmod/pmodesp32/reference-manual?redirect=1 (accessed on 1 August 2025).
- Davies, N.; Clinch, S.; Alt, F. Pervasive Displays: Understanding the Future of Digital Signage; Synthesis Lectures on Mobile and Pervasive Computing; Springer: Cham, Switzerland, 2014; Volume 8, pp. 1–128. [Google Scholar] [CrossRef]
- Xilinx. DPU for Convolutional Neural Network. Available online: https://www.amd.com/en/products/adaptive-socs-and-fpgas/intellectual-property/dpu.html (accessed on 1 August 2025).
- Alpha Cephei. Vosk Speech Recognition Toolkit. Available online: https://alphacephei.com/vosk/ (accessed on 1 August 2025).
- Wan, L.; Liu, N.; Huo, H.; Fang, T. Face Recognition with Convolutional Neural Networks and subspace learning. In Proceedings of the 2017 2nd International Conference on Image, Vision and Computing (ICIVC), Chengdu, China, 2–4 June 2017; pp. 228–233. [Google Scholar] [CrossRef]
- AMD. PetaLinux Tools. Available online: https://www.amd.com/en/products/software/adaptive-socs-and-fpgas/embedded-software/petalinux-sdk.html (accessed on 1 August 2025).
- NVIDIA. Jetson Nano. Available online: https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-nano/product-development/ (accessed on 1 August 2025).
- Valente, G.; Di Mascio, T.; Pomante, L.; D’Andrea, G. Dynamic Partial Reconfiguration Profitability for Real-Time Systems. IEEE Embed. Syst. Lett. 2021, 13, 102–105. [Google Scholar] [CrossRef]
- Stark, J. Digital Transformation of an Airport. In Digital Transformation of Industry: Continuing Change; Springer Nature: Cham, Switzerland, 2025; pp. 73–77. [Google Scholar] [CrossRef]
- She, J.; Crowcroft, J.; Fu, H.; Li, F. Convergence of interactive displays with smart mobile devices for effective advertising: A survey. ACM Trans. Multimedia Comput. Commun. Appl. 2014, 10, 1–16. [Google Scholar] [CrossRef]
- Clinch, S.; Mikusz, M.; Elhart, I.; Davies, N.; Langheinrich, M. Scheduling Content in Pervasive Display Systems. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. 2020, 3, 1–37. [Google Scholar] [CrossRef]
- Tiberti, W.; Carmenini, A.; Pomante, L.; Cassioli, D. A Lightweight Blockchain-based Technique for Anti-Tampering in Wireless Sensor Networks. In Proceedings of the 2020 23rd Euromicro Conference on Digital System Design (DSD), Kranj, Slovenia, 26–28 August 2020; pp. 577–582. [Google Scholar] [CrossRef]
- Tiberti, W.; Caruso, F.; Pomante, L.; Pugliese, M.; Santic, M.; Santucci, F. Development of an extended topology-based lightweight cryptographic scheme for IEEE 802.15.4 wireless sensor networks. Int. J. Distrib. Sens. Netw. 2020, 16, 1550147720951673. [Google Scholar] [CrossRef]
- Bozzi, L.; Di Giuseppe, L.; Pomante, L.; Pugliese, M.; Santic, M.; Santucci, F.; Tiberti, W. TinyWIDS: A WPM-based Intrusion Detection System for TinyOS2.x/802.15.4 Wireless Sensor Networks. In Proceedings of the Fifth Workshop on Cryptography and Security in Computing Systems (CS2’18), Manchester, UK, 24 January 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 13–16. [Google Scholar] [CrossRef]
- Liri, E.; Ramakrishnan, K.K.; Kar, K.; Lyon, G.; Sharma, P. Efficient and Lightweight Model-Predictive IoT Energy Management. ACM Trans. Internet Things 2025, 6, 1–32. [Google Scholar] [CrossRef]
Reference | Load Balancing Architecture | Trigger Type | Decision Strategy | Neighbor Awareness (Addressing R1) | Lightweight Solution (Addressing R2) |
---|---|---|---|---|---|
[7] | Centralized | Proactive | Metaheuristics and semi-definite programming for intra- and inter-node optimization | No | No |
[8] | Centralized | Proactive | Static service partitioning and dynamic service migration | No | No |
[9] | Centralized | Proactive | Centralized cost optimization based on drone placement and association | No | No |
[14] | Centralized | Proactive | Quantum Particle Swarm Optimization for joint task offloading and resource allocation | No | No |
[10] | Centralized | Proactive | SDN-based data transmission and resource optimization in layered architecture | No | Yes |
[11] | AI-based (Deep learning) | Predictive | Deep learning scheduler trained for traffic prediction and distribution | No | No |
[12] | AI-based (Reinforcement Learning) | Predictive | Reinforcement learning-based distributed task allocation and policy learning | Partial | No |
[13] | Distributed | Reactive | Cost minimization via linear programming and queue modeling in edge networks | Yes | No |
This Work | Distributed | Reactive | Lightweight feasibility check to trigger offloading decisions without optimization | Yes | Yes |
Protocol | Standard | Frequency Band | Typical Range | Data Rate |
---|---|---|---|---|
Wi-Fi/Wi-Fi Direct | IEEE 802.11n/802.11ac | 2.4 GHz, 5 GHz | 50 m (indoor), 100 m (outdoor) | 802.11n: 150–200 Mbit/s (up to 300 Mbps); 802.11ac: up to 450 Mbit/s (2.4 GHz), up to 1300 Mbit/s (5 GHz) |
Bluetooth | IEEE 802.15.1 (Classic) | 2.4 GHz | 0.5–100 m (depending on power class) | 1–3 Mbps (maximum) |
Zigbee | IEEE 802.15.4 (Zigbee 3.0) | 2.4 GHz | 10–100 m | 250 Kbit/s |
Z-Wave | Z-Wave Alliance | 900 MHz | 10 m (indoor), 100 m (outdoor) | Up to 100 Kbit/s |
LoRa | LoRaWAN | Sub-GHz (e.g., 868 MHz, 915 MHz) | 2–5 km (urban), 15 km (suburban), up to 30 km (rural) | 0.3–50 Kbit/s |
Task Totem | IR | GC | AE | OS | CS | Send to Roof | Receive from Roof |
---|---|---|---|---|---|---|---|
Response Time (s) | 0.12 | 0.10 | 0.10 | 0.28 | 0.04 | 0.02 | 0.01 |
Sides | Number of People | IR Jobs | GC Jobs | AE Jobs | OS Overhead (s) | Response Time (s) |
---|---|---|---|---|---|---|
N | 1 | 1 | 1 | 1 | 0.28 | 0.6418 |
N | 2 | 1 | 2 | 2 | 0.28 | 0.8418 |
N | 3 | 1 | 3 | 3 | 0.28 | 1.0418 |
N | 4 | 1 | 4 | 4 | 0.28 | 1.2418 |
N–S | 2 | 2 | 2 | 2 | 0.28 | 1.0048 |
N–S–E | 3 | 3 | 3 | 3 | 0.28 | 1.3677 |
N–S–E–W | 4 | 4 | 4 | 4 | 0.28 | 1.7307 |
Sides | Number of People | Roof Nodes Required to Meet Deadline | Response Time (No LB) (s) | Response Time (with LB) (s) | |
---|---|---|---|---|---|
N | 4 | 1 | 1 | 1.2418 | 1.0338 |
N | 5 | 1 | 3 | 1.4418 | 1.063 |
N | 6 | 1 | 4 | 1.6418 | 1.089 |
N–S–E | 3 | 3 | 1 | 1.3677 | 1.0738 |
N–S–E–W | 4 | 4 | 3 | 1.7307 | 1.057 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Valente, G.; Caruso, F.; Pomante, L.; Di Mascio, T. Reactive Load Balancing for Sentient Spaces in Absence of Cloud and Fog. Electronics 2025, 14, 3458. https://doi.org/10.3390/electronics14173458
Valente G, Caruso F, Pomante L, Di Mascio T. Reactive Load Balancing for Sentient Spaces in Absence of Cloud and Fog. Electronics. 2025; 14(17):3458. https://doi.org/10.3390/electronics14173458
Chicago/Turabian StyleValente, Giacomo, Federica Caruso, Luigi Pomante, and Tania Di Mascio. 2025. "Reactive Load Balancing for Sentient Spaces in Absence of Cloud and Fog" Electronics 14, no. 17: 3458. https://doi.org/10.3390/electronics14173458
APA StyleValente, G., Caruso, F., Pomante, L., & Di Mascio, T. (2025). Reactive Load Balancing for Sentient Spaces in Absence of Cloud and Fog. Electronics, 14(17), 3458. https://doi.org/10.3390/electronics14173458