Latency-sensitive and bandwidth-intensive stream processing applications are dominant traffic generators over the Internet network. A stream consists of a continuous sequence of data elements, which require processing in nearly real-time. To improve communication latency and reduce the network congestion, Fog computing complements the Cloud services by moving the computation towards the edge of the network. Unfortunately, the heterogeneity of the new Cloud-Fog continuum raises important challenges related to deploying and executing data stream applications. We explore in this work a two-sided stable matching model called Cloud-Fog to data stream application matching (CODA) for deploying a distributed application represented as a workflow of stream processing microservices on heterogeneous Cloud-Fog computing resources. In CODA, the application microservices rank the continuum resources based on their microservice stream processing time, while resources rank the stream processing microservices based on their residual bandwidth. A stable many-to-one matching algorithm assigns microservices to resources based on their mutual preferences, aiming to optimize the complete stream processing time on the application side, and the total streaming traffic on the resource side. We evaluate the CODA algorithm using simulated and real-world Cloud-Fog scenarios. We achieved 11 to 45% lower stream processing time and 1.3 to 20% lower streaming traffic compared to related state-of-the-art approaches.
Serverless data pipeline approaches for IoT data in fog and cloud computing
随着物联网(IoT)设备数量的增加,正在生成大量原始数据。基于云的物联网数据处理中的延迟、成本和其他挑战推动了边缘和雾计算模型的采用,其中一些数据处理任务被移到更接近数据源的地方。正确处理此类数据流需要构建数据管道,以控制数据流的完整生存周期,从数据源的数据采集、边缘和雾处理,到云端存储和分析。数据分析任务需要在距离数据源不同的距离上动态执行,并且通常在非常异构的硬件设备上执行。这可以通过使用无服务器(或FaaS)云计算模型来简化,其中任务被定义为虚拟功能,可以从边缘迁移到云(反之亦然),并以事件驱动的方式在数据流上执行。在这项工作中,我们研究了构建无服务器数据管道(SDP)用于物联网数据分析的好处,并评估了设计SDP的三种不同方法:1)基于现成的数据流工具(DFT),2)基于对象存储服务(OSS)和3)基于MQTT。此外,我们将这些策略应用于三个雾应用程序(Aeneas,PocketSphinx和自定义视频处理应用程序),并通过比较它们的处理时间(计算时间,网络通信和磁盘访问时间)和资源利用率来评估性能。结果表明,DFT是不适合的计算密集型应用,如视频或图像处理,而OSS是最适合这项任务。然而,DFT非常适合带宽密集型应用,因为它使用的网络资源最少。另一方面,基于MQTT的SDP随着CPU和内存使用量的增加而被观察到。<truncted to fit character limi…
A Serverless Cloud-Fog Platform for DNN-Based Video Analytics with Incremental Learning
Nanyang Technological University(南洋理工大学);Wuhan University(武汉大学);Nanjing University of Science and Technology(南京理工大学);K&C Technologies Solutions(K&C技术解决方案公司)
A Cloud Continuum Research Infrastructure for Distributed CPS Experimentation
Università degli Studi di Messina(墨西拿大学);CINI: National Interuniversity Consortium for Informatics(国家跨大学信息学联盟);Università degli Studi di Bologna(博洛尼亚大学);Institute of ICAR CNR(意大利国家研究委员会ICAR研究所)