Performance Impact of OpenResty XRay when Tracing Python Apps (using OpenResty XRay)

Опубликовано: 23 Июль 2026
на канале: OpenResty
108
1

Try out OpenResty XRay for free: https://openresty.com/en/xray/

In this tutorial, we'll show the actual performance impact of OpenResty XRay when tracing Python applications. We will watch CPU, memory, load average, traffic throughput, latency, etc. when OpenResty is actively sampling and analyzing the target system. OpenResty XRay is a non-invasive diagnostic system based on our own dynamic tracing technology. It has minimal performance overhead. It can analyze running applications in real-time to help pinpoint the root causes of various issues.

Text version of this tutorial: https://blog.openresty.com/en/python-...

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 contexts.
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 even does not require restarting the running process.

Music: https://www.bensound.com

0:00 Process Performance Before Running Analysis
0:59 Run the Analyzer
1:58 Performance Impact When the Analyzer is Running
2:31 Impact Measurement on Throughput and Latency
3:48 What is OpenResty XRay