arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.12592cs.DC
收藏

ChainsFormer:一种面向微服务集群的链路延迟感知资源供应方法

ChainsFormer: A Chain Latency-aware Resource Provisioning Approach for Microservices Cluster

Chenghao Song, Minxian Xu, Kejiang Ye, Huaming Wu, Sukhpal Singh Gill, Rajkumar Buyya, Chengzhong Xu

AI总结:

针对微服务集群链路的最优资源供应难题,提出ChainsFormer框架,通过轻量机器学习分析依赖识别关键链路节点,结合强化学习与纵横扩缩容调配资源,在真实K8s测试中较现有方法显著降低响应时间并提升请求处理速率。

摘要:

从单体应用向微服务转型的趋势已在现代分布式系统与应用中得到广泛采用,这一转变催生了轻量、细粒度且自包含的微服务。多个微服务可通过调用与相互依赖关系链接,形成复杂功能。微服务管理的核心挑战之一,是为链路中的微服务配置最优资源量,在保障应用性能的同时提升资源利用效率。本文提出ChainsFormer框架,该框架通过分析微服务间的依赖关系识别关键链路与节点,并基于强化学习完成资源供应。在链路分析层面,ChainsFormer采用轻量级机器学习技术应对微服务链路及工作负载的动态特性;在资源供应层面,采用结合垂直与水平扩缩容的强化学习方法,确定资源分配量与副本数量。我们在基于Kubernetes搭建的真实测试平台上,使用真实应用与流量轨迹评估了ChainsFormer的有效性。实验结果表明,与现有最优技术相比,ChainsFormer可将响应时间降低最高26%,并将每秒处理请求数提升8%。

英文摘要:

The trend towards transitioning from monolithic applications to microservices has been widely embraced in modern distributed systems and applications. This shift has resulted in the creation of lightweight, fine-grained, and self-contained microservices. Multiple microservices can be linked together via calls and inter-dependencies to form complex functions. One of the challenges in managing microservices is provisioning the optimal amount of resources for microservices in the chain to ensure application performance while improving resource usage efficiency. This paper presents ChainsFormer, a framework that analyzes microservice inter-dependencies to identify critical chains and nodes, and provision resources based on reinforcement learning. To analyze chains, ChainsFormer utilizes light-weight machine learning techniques to address the dynamic nature of microservice chains and workloads. For resource provisioning, a reinforcement learning approach is used that combines vertical and horizontal scaling to determine the amount of allocated resources and the number of replicates. We evaluate the effectiveness of ChainsFormer using realistic applications and traces on a real testbed based on Kubernetes. Our experimental results demonstrate that ChainsFormer can reduce response time by up to 26% and improve processed requests per second by 8% compared with state-of-the-art techniques.

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

↑