← Back
openresty-xray

Tracing the Slowest PCRE Regular Expressions in OpenResty or Nginx Processes

* System Environment * Narrowing Down the Culprit without Guessing * Limiting the execution overhead of PCRE * Non-Backtracking Regular Expression Engines * Lua's Builtin Patterns * Tracing Applications inside Containers * How The Tools are Implemented * The Overhead of the Tools

* System Environment * Narrowing Down the Culprit without Guessing * Limiting the execution overhead of PCRE * Non-Backtracking Regular Expression Engines * Lua's Builtin Patterns * Tracing Applications inside Containers * How The Tools are Implemented * The Overhead of the Tools

Listing Loaded Lua Modules in OpenResty or Nginx Processes

* System Environment * Names of Loaded Lua Modules * Running Directly in the Web Console * Tracing Applications inside Containers * How The Tools are Implemented * The Overhead of the Tools

Photo by Yichun Zhang

* System Environment * Names of Loaded Lua Modules * Running Directly in the Web Console * Tracing Applications inside Containers * How The Tools are Implemented * The Overhead of the Tools

Analyzing the Most CPU-Consuming Requests in OpenResty or Nginx

* System Environment * CPU-Hottest Request Hostnames * CPU-Hottest Request URIs * Digging Deeper * Running Directly in the Web Console * Tracing Applications inside Containers * How The Tools are Implemented * The Overhead of the Tools

Photo by Yichun Zhang

* System Environment * CPU-Hottest Request Hostnames * CPU-Hottest Request URIs * Digging Deeper * Running Directly in the Web Console * Tracing Applications inside Containers * How The Tools are Implemented * The Overhead of the Tools

Ylang: Universal Language for eBPF, Stap+, GDB, and More (Part 4)

* Transparent Container Tracing * Efficient Stack Unwinding * Analyzing Dead Processes (Core Dumps) * Very Low Tracing Overhead * Standard Ylang Libraries & Tools * Network Filtering & Control * The Ylang Compiler's Implementation * Operating System Support * Contributions to Open-Source Communities

Photo by Yichun Zhang

* Transparent Container Tracing * Efficient Stack Unwinding * Analyzing Dead Processes (Core Dumps) * Very Low Tracing Overhead * Standard Ylang Libraries & Tools * Network Filtering & Control * The Ylang Compiler's Implementation * Operating System Support * Contributions to Open-Source Communities

Ylang: Universal Language for eBPF, Stap+, GDB, and More (Part 3)

* The Language Syntax (Continued) * String Literals * Built-in Regex Support * Full Control-Flow Support * Floating-Point Number Support * Compared to Open-Source Toolchains * Transparent Debug Symbol Handling * Debug Symbols: No Runtime Overhead * Centralized Package Database * Fuzzy Matching Debug Symbols

Photo by Yichun Zhang

* The Language Syntax (Continued) * String Literals * Built-in Regex Support * Full Control-Flow Support * Floating-Point Number Support * Compared to Open-Source Toolchains * Transparent Debug Symbol Handling * Debug Symbols: No Runtime Overhead * Centralized Package Database * Fuzzy Matching Debug Symbols

The Wonderland of Dynamic Tracing (Part 3 of 7)

* Applications of SystemTap in Production * Case #1: Slow Debugging Code Left in Production * Case #2: Long request latency outliers * Case #3: From Network Issues to Disk Issues * Case #4: File Handle Cache Tradeoffs * Case #5: Compiled Regex Cache Tuning

* Applications of SystemTap in Production * Case #1: Slow Debugging Code Left in Production * Case #2: Long request latency outliers * Case #3: From Network Issues to Disk Issues * Case #4: File Handle Cache Tradeoffs * Case #5: Compiled Regex Cache Tuning

The LuaJIT GC64 Mode

* The Old Memory Limit * When Hitting The Memory Limit * The Memory Limit Is Per Process * GC-Managed Memory * Memory Allocated Outside GC * Extending The x64 Mode to The 4 GB Limit * The New GC64 Mode * How to Enable The GC64 Mode * Performance Impact * Debugging and Profiling Tool Chains

* The Old Memory Limit * When Hitting The Memory Limit * The Memory Limit Is Per Process * GC-Managed Memory * Memory Allocated Outside GC * Extending The x64 Mode to The 4 GB Limit * The New GC64 Mode * How to Enable The GC64 Mode * Performance Impact * Debugging and Profiling Tool Chains