Autothrottle:一种面向SLO目标微服务的实用双层资源管理方法
Autothrottle: A Practical Bi-Level Approach to Resource Management for SLO-Targeted Microservices
AI总结:
针对微服务架构下兼顾用户体验与资源效率的难题,提出双层资源管理框架Autothrottle,通过学习型全局控制器设定CPU节流目标、启发式单服务控制器执行,实现显著CPU节省。
摘要:
对云应用运营商而言,在保障终端用户体验的同时实现资源效率并非易事。随着云应用逐步采用微服务架构,资源管理者面临两个不同层面的系统行为:端到端应用延迟和单服务资源使用。然而,在这两个层面之间进行转换颇具挑战,因为用户请求会流经异构服务,这些服务共同(但贡献不均)决定了端到端延迟。我们提出Autothrottle,这是一个面向具有延迟SLO(服务水平目标)的微服务的双层资源管理框架。它在架构上将应用SLO反馈与服务资源控制解耦,并通过性能目标的概念将二者衔接起来。具体而言,采用一个基于学习的全局应用控制器,定期为单服务启发式控制器设定性能目标——以CPU节流比率表示——供其达成。我们在三个微服务应用上评估了Autothrottle,使用的是来自生产场景的工作负载轨迹。结果显示,该方法在CPU节省方面表现优异,相比性能最佳的基线最高节省26.21%,相比所有基线最高节省93.84%。
英文摘要:
Achieving resource efficiency while preserving end-user experience is non-trivial for cloud application operators. As cloud applications progressively adopt microservices, resource managers are faced with two distinct levels of system behavior: end-to-end application latency and per-service resource usage. Translating between the two levels, however, is challenging because user requests traverse heterogeneous services that collectively (but unevenly) contribute to the end-to-end latency. We present Autothrottle, a bi-level resource management framework for microservices with latency SLOs (service-level objectives). It architecturally decouples application SLO feedback from service resource control, and bridges them through the notion of performance targets. Specifically, an application-wide learning-based controller is employed to periodically set performance targets -- expressed as CPU throttle ratios -- for per-service heuristic controllers to attain. We evaluate Autothrottle on three microservice applications, with workload traces from production scenarios. Results show superior CPU savings, up to 26.21% over the best-performing baseline and up to 93.84% over all baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。