利用深度学习提高云微服务的性能可预测性
Leveraging Deep Learning to Improve the Performance Predictability of Cloud Microservices
摘要:
性能不可预测性是云采用的主要障碍,并且具有性能,成本和收入影响。随着云服务从单体设计过渡到微服务,可预测的性能变得更加重要。在具有微服务的系统中发生QoS违规后对其进行检测会导致较长的恢复时间,因为热点会在相关服务之间传播和放大。我们介绍了Seer,一个在线云性能调试系统,它利用深度学习和云系统收集的大量跟踪数据来学习转换为QoS违规的空间和时间模式。Seer将轻量级分布式RPC级跟踪与详细的低级硬件监控相结合,以发出即将发生的QoS违规信号,并诊断不可预测性能的来源。一旦检测到即将发生的QoS违规,Seer就会通知群集管理器采取措施,以避免性能下降。我们在本地集群中评估Seer,并在使用微服务构建的具有数百个用户的端到端应用程序的大规模部署中评估Seer。我们发现,Seer正确地预期QoS违规91%的时间,并避免QoS违规开始在84%的情况下。最后,我们展示了Seer可以识别应用程序级的设计错误,并提供有关如何更好地构建微服务以实现可预测性能的见解。
英文摘要:
Performance unpredictability is a major roadblock towards cloud adoption, and has performance, cost, and revenue ramifications. Predictable performance is even more critical as cloud services transition from monolithic designs to microservices. Detecting QoS violations after they occur in systems with microservices results in long recovery times, as hotspots propagate and amplify across dependent services. We present Seer, an online cloud performance debugging system that leverages deep learning and the massive amount of tracing data cloud systems collect to learn spatial and temporal patterns that translate to QoS violations. Seer combines lightweight distributed RPC-level tracing, with detailed low-level hardware monitoring to signal an upcoming QoS violation, and diagnose the source of unpredictable performance. Once an imminent QoS violation is detected, Seer notifies the cluster manager to take action to avoid performance degradation altogether. We evaluate Seer both in local clusters, and in large-scale deployments of end-to-end applications built with microservices with hundreds of users. We show that Seer correctly anticipates QoS violations 91% of the time, and avoids the QoS violation to begin with in 84% of cases. Finally, we show that Seer can identify application-level design bugs, and provide insights on how to better architect microservices to achieve predictable performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。