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.
翻译:idge/ fog 计算是一种新型的计算模式,它为资源有限的Tings(IoT)互联网提供可缩放的计算和存储资源。与云计算相比,边缘/fog 服务器的资源较少,但可以使用更高的带宽和较少的通信时间。因此,将边缘/fog 和云层基础设施整合起来,可以支持执行多种对延时敏感和计算密集的 IoT 应用程序。虽然有些框架试图提供这种整合,但仍有一些挑战需要解决,例如不同 IoT 应用程序的动态时间安排、可缩放机制、多平台支持以及支持不同互动模式。 FogBus2 作为一种新的光谱基框架,提供了轻量和分布式的集装箱框架,以克服这些挑战。在此章中,我们突出FogBus2 框架的关键特征,同时说明其主要组成部分。此外,我们提供了一个逐步建立综合计算环境的指导方针,其中包括多个云层服务供应商(Hybrid-cloud)和边端装置,这是任何IOT 应用程序的快速框架的先决条件,这是任何IOBus-deal lifrodeal laftal filod fistration fistration fistration fistration stration stration fistration stration com faft faft fapeal stration ex ex ex compeal strutal ex compeutal compeal compeal complation complation faloutal compeal compeal compeal compeal compeal compeal compeal compeal compeal compeal compatipediapeal compeal compatipeal compeal compatipeal compeal compeal compeal ex compeal compeal compeal compeal compeal compeal compeal compeal compeal compeal compeal comped compeal compeal compeal compeal 提供我们提供和我们提供和我们提供一个低的软和我们提供各种软化化化