# Leveraging Deep Learning to Improve the Performance Predictability of   Cloud Microservices

**Authors:** Yu Gan, Yanqi Zhang, Kelvin Hu, Dailun Cheng, Yuan He, Meghna, Pancholi, and Christina Delimitrou

arXiv: 1905.00968 · 2019-05-06

## TL;DR

Seer is an online deep learning-based system that predicts and prevents QoS violations in cloud microservices, enhancing performance reliability and aiding in microservice architecture optimization.

## Contribution

Introduces Seer, a novel system combining distributed tracing and hardware monitoring with deep learning to predict and diagnose performance issues in microservices before they occur.

## Key findings

- Seer predicts QoS violations with 91% accuracy.
- Seer successfully prevents 84% of predicted violations.
- Identifies application design bugs and suggests architectural improvements.

## Abstract

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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1905.00968/full.md

## Figures

21 figures with captions in the complete paper: https://tomesphere.com/paper/1905.00968/full.md

## References

100 references — full list in the complete paper: https://tomesphere.com/paper/1905.00968/full.md

---
Source: https://tomesphere.com/paper/1905.00968