Pinpointing the blocking Python code paths (using OpenResty XRay)

  • Problem: low CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the blocking Python code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: low CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the blocking Python code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Two bugs in Linux kernels' tracing subsystem (found by OpenResty XRay)

  • Kernel deadlocks in user-space memory reading
  • Data races in x86 breakpoint insertion of the kernel
  • What is OpenResty XRay
Photo by Yichun Zhang
  • Kernel deadlocks in user-space memory reading
  • Data races in x86 breakpoint insertion of the kernel
  • What is OpenResty XRay

Pinpointing hottest Perl code paths (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Perl code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Perl code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

OpenResty 1.21.4.2 Released

  • Version highlights
  • Full Changelog
  • Feedback
  • Version highlights
  • Full Changelog
  • Feedback

Pinpointing hottest Lua code paths in online OpenResty/Nginx servers (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Lua code paths
  • Automatic analysis and reports
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Lua code paths
  • Automatic analysis and reports

How we solved a CPU bottleneck caused by Lua exceptions in a custom Kong plugin (using OpenResty XRay)

  • The problem: high CPU usage in Kong servers
  • The analysis & report
  • The result: improved performance and reduced CPU usage
Photo by Yichun Zhang
  • The problem: high CPU usage in Kong servers
  • The analysis & report
  • The result: improved performance and reduced CPU usage

Memory and CPU usage statistics among Kong plugins online (using OpenResty XRay)

  • CPU usage among all Kong plugins in a server process
  • Memory usage among all Kong plugins in a server process
  • Extra overhead for the servers
Photo by Yichun Zhang
  • CPU usage among all Kong plugins in a server process
  • Memory usage among all Kong plugins in a server process
  • Extra overhead for the servers

Troubleshooting the extra 200-ms request latency online

  • The Problem
  • The Analsysis Process
  • Fully-automated analysis
  • What is OpenResty XRay
Photo by Yichun Zhang
  • The Problem
  • The Analsysis Process
  • Fully-automated analysis
  • What is OpenResty XRay

EdgeLang: A Powerful and Efficient Language for Gateway Logic

  • Introduction to Edgelang
  • Benefits of Edgelang
  • Edgelang in Edge Admin
  • Introduction to Edgelang
  • Benefits of Edgelang
  • Edgelang in Edge Admin

Pinpointing leaked Lua tables with OpenResty XRay's command-line tools

  • How LuaJIT manages memory
  • OpenResty XRay’s command-line tools
  • An leaking example
  • Analysis procedure
  • lj-gco-ref analyzer
  • Fully-automated analysis
  • How LuaJIT manages memory
  • OpenResty XRay’s command-line tools
  • An leaking example
  • Analysis procedure
  • lj-gco-ref analyzer
  • Fully-automated analysis

Real-Time Request Counting against Nginx Processes via YSQL

  • How to install the run-ysql tool
  • Count total requests served in real time
  • Filter out specific requests
  • Using YSQL in the Web Console
  • True non-invasive tracing
Photo by Yichun Zhang
  • How to install the run-ysql tool
  • Count total requests served in real time
  • Filter out specific requests
  • Using YSQL in the Web Console
  • True non-invasive tracing

Using request IDs to troubleshoot problematic requests in OpenResty Edge gateways

  • Global configuration Request ID
  • Request ID Decoder
  • Global configuration Request ID
  • Request ID Decoder

Configuring hCaptcha’s captcha webpages in OpenResty Edge

  • Configure hCaptcha in OpenResty Edge
  • Test
  • Configure hCaptcha in OpenResty Edge
  • Test

Configuring SNI proxies in OpenResty Edge

  • Create an SNI proxy application
  • Create an upstream and a page rule for the application
  • Test the SNI proxy application
  • Create an SNI proxy application
  • Create an upstream and a page rule for the application
  • Test the SNI proxy application

Pushing static resources to OpenResty Edge gateways

  • Upload static resources
  • Create a page rule to use the uploaded static resources
  • Test
  • Upload static resources
  • Create a page rule to use the uploaded static resources
  • Test

Configuring the built-in captcha webpages in OpenResty Edge

  • Configure OpenResty Edge’s built-in captcha
  • Test
  • Configure OpenResty Edge’s built-in captcha
  • Test

Configuring gateway access log files in OpenResty Edge

  • Configure access log format on the global config page
  • Configure access logs for the sample application
  • Test access logs
  • Configure access log format on the global config page
  • Configure access logs for the sample application
  • Test access logs

Load-balancing TCP applications via OpenResty Edge

  • Create a TCP application
  • Create an upstream and a page rule for the TCP application
  • Test the TCP application
  • Create a TCP application
  • Create an upstream and a page rule for the TCP application
  • Test the TCP application

Configuring error log files in OpenResty Edge

  • Error logs of the sample application
  • Error logs of openresty.com
  • Global error logs
  • Check error logs on servers
  • Error logs of the sample application
  • Error logs of openresty.com
  • Global error logs
  • Check error logs on servers

Configuring sticky cookies in OpenResty Edge gateways

  • Introduction to Sticky Cookie in OpenResty Edge
  • Enable Sticky Cookie for the sample application
  • Test
  • Disable Sticky Cookie
  • Test
  • Introduction to Sticky Cookie in OpenResty Edge
  • Enable Sticky Cookie for the sample application
  • Test
  • Disable Sticky Cookie
  • Test
Contact us

OpenResty open-source community workspace

Please join us here and share your thoughts and questions with us, we can't wait to see you there!


limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more

Love to hear from you, Get in touch 👋

Message was sent successfully!

Our Team will get back to you within 24 hours.
x