arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.09267cs.DC
收藏

Tangram:具备SLO感知批处理能力的无服务器平台高分辨率视频分析

Tangram: High-resolution Video Analytics on Serverless Platform with SLO-aware Batching

Haosong Peng, Yufeng Zhan, Peng Li, Yuanqing Xia

AI总结:

针对云边高分辨率视频分析的SLO违规与资源低效问题,提出Tangram无服务器系统,通过RoI对齐拼接批处理与SLO感知在线调度算法,大幅降低带宽与计算成本,同时保障SLO与精度。

摘要:

云边协同计算范式是高分辨率视频分析系统的一种极具前景的解决方案,其核心在于减少冗余数据并有效管理波动的推理工作负载。已有研究主要聚焦于从视频中提取感兴趣区域(RoIs)并将其传输至云端处理,但简单的基础设施即服务(IaaS)资源配置难以应对高度波动的工作负载,会导致服务水平目标(SLO)违规以及资源利用效率低下。此外,这类方法忽略了RoIs批处理对发挥并行处理潜力的增益作用。本文提出Tangram,一款针对通信与计算全面优化的高效无服务器云边视频分析系统。Tangram会自适应地将RoIs对齐为图像块,再传输至云端调度器;该系统采用独特的“拼接”方法,对来自边缘摄像头的不同尺寸图像块进行批处理。此外,我们还设计了一种在线SLO感知批处理算法,可精准确定无服务器函数的最优调用时间。基于原型系统的实验表明,Tangram可分别降低高达74.30%的带宽消耗与66.35%的计算成本,同时将SLO违规率控制在5%以内,且精度损失可忽略不计。

英文摘要:

Cloud-edge collaborative computing paradigm is a promising solution to high-resolution video analytics systems. The key lies in reducing redundant data and managing fluctuating inference workloads effectively. Previous work has focused on extracting regions of interest (RoIs) from videos and transmitting them to the cloud for processing. However, a naive Infrastructure as a Service (IaaS) resource configuration falls short in handling highly fluctuating workloads, leading to violations of Service Level Objectives (SLOs) and inefficient resource utilization. Besides, these methods neglect the potential benefits of RoIs batching to leverage parallel processing. In this work, we introduce Tangram, an efficient serverless cloud-edge video analytics system fully optimized for both communication and computation. Tangram adaptively aligns the RoIs into patches and transmits them to the scheduler in the cloud. The system employs a unique ``stitching'' method to batch the patches with various sizes from the edge cameras. Additionally, we develop an online SLO-aware batching algorithm that judiciously determines the optimal invoking time of the serverless function. Experiments on our prototype reveal that Tangram can reduce bandwidth consumption and computation cost up to 74.30\% and 66.35\%, respectively, while maintaining SLO violations within 5\% and the accuracy loss negligible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑