Not just another network latency issue: How we unraveled a series of hidden bottlenecks | Datadog
May 26, 2023Anatole Beuzon, Bowen Chen

Summary
This post details the investigation and resolution of a series of network latency issues impacting the usage estimation service. The investigation uncovered bottlenecks related to Envoy proxy CPU utilization during deployments, leading to TCP retransmits. It also identified a Linux kernel bug affecting the Elastic Network Adapter (ENA) on AWS, which caused traffic to be mapped to a single transmit queue instead of distributing it across multiple queues. The solutions involved allocating more CPU to Envoy and applying a hotfix for the Linux kernel bug, ultimately improving latency during both normal operations and deployments.
More from the Graceful Degradation and Reliability Engineering trail
- Failure is inevitable: Learning from a large outage, and building for reliability in depth at Datadog | Datadog
- How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems | Datadog
- 2023-03-08 incident: A deep dive into the platform-level recovery | Datadog