基于概率缓存的无服务器函数跨边缘编排
Cross-Edge Orchestration of Serverless Functions with Probabilistic Caching
AI总结:
针对无服务器边缘计算的冷启动及成本问题,本文提出具备理论保证的优化请求分发算法与上下文感知概率缓存策略,在系统成本和冷启动频率上较现有策略最多降低62.1%和69.1%。
摘要:
无服务器边缘计算采用基于事件的范式,按需提供后端服务,可实现高效的资源利用。为改善端到端延迟并提升收益,服务提供商需要优化无服务器容器的数量与部署位置,同时考量资源配置带来的系统成本。造成这一需求的具体原因是,频繁创建与销毁容器不仅会增加系统成本,还会因冷启动过程降低时间响应性。函数缓存是缓解冷启动问题的常用方法,但函数缓存需要额外的硬件资源,因此会产生额外的系统成本。此外,无服务器调用的动态性与突发性仍是一个尚未得到充分研究的领域。因此,对服务提供商而言,为无服务器边缘计算制定具备上下文感知能力的请求分发与容器缓存策略至关重要。本文研究了无服务器边缘计算中的请求分发与容器缓存问题,证明了所提出的问题是NP难问题,因此难以找到全局最优解。我们结合边缘计算的分布式与资源受限特性,提出了一种优化的请求分发算法,该算法可适配无服务器调用的动态变化,且具备理论性能保证。同时,我们提出了一种上下文感知概率缓存策略,该策略融合了无服务器调用的多项特征。通过仿真与实际部署实验结果表明,所提算法性能优于现有缓存策略,在整体系统成本与冷启动频率方面分别最多降低62.1%与69.1%,验证了其优越性。
英文摘要:
Serverless edge computing adopts an event-based paradigm that provides back-end services on an as-used basis, resulting in efficient resource utilization. To improve the end-to-end latency and revenue, service providers need to optimize the number and placement of serverless containers while considering the system cost incurred by the provisioning. The particular reason for this circumstance is that frequently creating and destroying containers not only increases the system cost but also degrades the time responsiveness due to the cold-start process. Function caching is a common approach to mitigate the coldstart issue. However, function caching requires extra hardware resources and hence incurs extra system costs. Furthermore, the dynamic and bursty nature of serverless invocations remains an under-explored area. Hence, it is vitally important for service providers to conduct a context-aware request distribution and container caching policy for serverless edge computing. In this paper, we study the request distribution and container caching problem in serverless edge computing. We prove the proposed problem is NP-hard and hence difficult to find a global optimal solution. We jointly consider the distributed and resource constrained nature of edge computing and propose an optimized request distribution algorithm that adapts to the dynamics of serverless invocations with a theoretical performance guarantee. Also, we propose a context-aware probabilistic caching policy that incorporates a number of characteristics of serverless invocations. Via simulation and implementation results, we demonstrate the superiority of the proposed algorithm by outperforming existing caching policies in terms of the overall system cost and cold-start frequency by up to 62.1% and 69.1%, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。