IoT边缘函数的检查点设置和迁移
Checkpointing and Migration of IoT Edge Functions
摘要:
无服务器和功能即服务(FaaS)模式目前在云提供商中流行,现在越来越多地应用于网络边缘和物联网(IoT)设备。好处包括减少通信延迟,减少网络流量和增加数据处理的隐私。然而,存在挑战,因为物联网设备具有有限的资源来运行多个同时的容器化功能,并且FaaS通常不支持长时间运行的功能。我们的实现利用Docker和CRIU来执行检查点和挂起长时间运行的阻塞函数。结果显示,检查点比常规Docker暂停稍慢,但它节省了内存,并允许在物联网设备上运行更多长时间运行的函数。此外,生成的检查点文件很小,因此它们适合于实时迁移和备份有状态功能,从而提高系统的可用性和可靠性。
英文摘要:
The serverless and functions as a service (FaaS) paradigms are currently trending among cloud providers and are now increasingly being applied to the network edge, and to the Internet of Things (IoT) devices. The benefits include reduced latency for communication, less network traffic and increased privacy for data processing. However, there are challenges as IoT devices have limited resources for running multiple simultaneous containerized functions, and also FaaS does not typically support long-running functions. Our implementation utilizes Docker and CRIU for checkpointing and suspending long-running blocking functions. The results show that checkpointing is slightly slower than regular Docker pause, but it saves memory and allows for more long-running functions to be run on an IoT device. Furthermore, the resulting checkpoint files are small, hence they are suitable for live migration and backing up stateful functions, therefore improving availability and reliability of the system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。