Envoy is a high-performance, open-source edge and service proxy designed for cloud-native applications. It is used to manage network traffic, providing features like load balancing, service discovery, and observability. Envoy is often deployed as a sidecar in service mesh architectures, such as Istio, to enhance the reliability and security of microservices communication.
One common issue users encounter with Envoy is high CPU usage. This symptom manifests as Envoy consuming an unexpectedly large amount of CPU resources, which can lead to degraded performance of the application it supports. High CPU usage can be observed through monitoring tools or system resource metrics.
High CPU usage in Envoy can be attributed to several factors:
To diagnose high CPU usage, consider the following steps:
Review and optimize your Envoy configuration:
--log-level
flag to a less verbose level, such as info
or warn
.If high traffic is the cause, consider scaling your Envoy deployment:
Continuously monitor CPU usage and adjust configurations as needed:
By understanding the causes of high CPU usage in Envoy and implementing the steps outlined above, you can optimize your deployment to ensure efficient resource utilization. For more detailed guidance, refer to the Envoy documentation.
Let Dr. Droid create custom investigation plans for your infrastructure.
Book Demo