Try out OpenResty XRay for free: https://openresty.com/en/xray/
In this tutorial, you will learn how to diagnose root causes for HTTP 504 gateway timeout errors in online OpenResty or Nginx servers. By capturing only the packets in the TCP connection leading to the 504 errors on the application level, OpenResty XRay minimizes the performance impact. This feature makes it ideal for production environments that are sensitive to performance overhead and latency.
Text version of this tutorial: https://blog.openresty.com/en/xray-or...
OpenResty XRay is a dynamic-tracing product that automatically analyzes your running applications to troubleshoot performance problems, behavioral issues, and security vulnerabilities with actionable suggestions.
Under the hood, OpenResty XRay is powered by our Y language, targeting various runtimes like Stap+, eBPF+, GDB, and ODB, depending on the context.
OpenResty XRay is a truly non-intrusive dynamic analysis, which does not require installing any special modules or plugins in the target application, does not require recompiling the target application, and does not even require restarting the running process.
Music: https://www.bensound.com
0:07 Problem: HTTP 504 gateway timeout errors
0:41 Use the guided analysis feature of OpenResty XRay to diagnose these errors
2:10 Analysis Report
5:15 Automatic analysis and reports