← Back
openresty

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

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