← Back
Tutorial

Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the CPU-hottest Go 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 CPU-hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Global Search in OpenResty Edge

  • Search for Request ID
  • Search for texts on the interface
  • Search for upstreams
  • Search for applications
  • Search for blog posts
  • Search for Request ID
  • Search for texts on the interface
  • Search for upstreams
  • Search for applications
  • Search for blog posts

How to Diagnose HTTP 504 Timeout Errors using OpenResty XRay

  • Problem: HTTP 504 gateway timeout errors
  • Use the guidede analysis feature of OpenResty XRay to diagnose these errors
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: HTTP 504 gateway timeout errors
  • Use the guidede analysis feature of OpenResty XRay to diagnose these errors
  • Automatic analysis and reports
  • What is OpenResty XRay

How CPU Time is Spent inside Go’s CockroachDB (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive Go 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 most CPU-intensive Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Performance Overhead of OpenResty XRay when Tracing Perl Apps

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Locate Large Memory Objects inside Perl Processes (using OpenResty XRay)

  • Problem: high memory usage
  • Use the guided analysis feature of OpenResty XRay to find the largest Perl objects or values taking the most RAM
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high memory usage
  • Use the guided analysis feature of OpenResty XRay to find the largest Perl objects or values taking the most RAM
  • Automatic analysis and reports
  • What is OpenResty XRay

Measuring the Performance Overhead of OpenResty XRay When Profiling Go Applications

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Install OpenResty XRay’s Agents on Ubuntu via Deb Packages

  • Logging in to the Console
  • Installing the Agent via Deb Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent via Deb Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Performance Impact of OpenResty XRay when Tracing PHP Apps

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Performance Impact of OpenResty XRay when Tracing Python Apps

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Tested in Production: The Performance Impact of OpenResty XRay When Tracing Rust Applications

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Dynamic-Tracing Custom Go Programs with Custom Ylang Analyzers (using OpenResty XRay)

  • Insert two key-value Pairs into a Go Variable
  • Write a Customize Ylang Analyzer to Dynamically Trace the Go program
  • Test the Results
  • What is OpenResty XRay
  • Insert two key-value Pairs into a Go Variable
  • Write a Customize Ylang Analyzer to Dynamically Trace the Go program
  • Test the Results
  • What is OpenResty XRay

Adding Custom Response Headers in OpenResty Edge

  • Add New Respond Header and Use String As Value
  • Use “System Hostname” As a Built-in Variable for Value
  • Add New Respond Header and Use String As Value
  • Use “System Hostname” As a Built-in Variable for Value

How Python Django's Application Uses Memory Internally (Using OpenResty XRay)

  • Problem: high memory usage
  • Use the guidede analysis feature of OpenResty XRay to analyze the django application
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high memory usage
  • Use the guidede analysis feature of OpenResty XRay to analyze the django application
  • Automatic analysis and reports
  • What is OpenResty XRay

Install OpenResty XRay’s Agents on CentOS via RPM Packages

  • Logging in to the Console
  • Installing the Agent via RPM Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent via RPM Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Find the largest Python objects or values taking the most RAM (using OpenResty XRay)

  • Problem: high memory usage
  • Use the guided analysis feature of OpenResty XRay to find the largest Python objects or values taking the most RAM
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high memory usage
  • Use the guided analysis feature of OpenResty XRay to find the largest Python objects or values taking the most RAM
  • Automatic analysis and reports
  • What is OpenResty XRay

How CPU time is spent inside Rust’s Sled library (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive Rust 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 most CPU-intensive Rust code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

How CPU time is spent inside Go's etcd server (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Go 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 Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

How CPU time is spent inside llama.cpp + LLaMA2 (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest C++ 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 C++ code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Pinpointing the hottest Go code paths with high CPU usage (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Go 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 Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

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

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

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

How to deploy the on-premises version of OpenResty XRay on Microsoft's Azure cloud

  • Create a subscription and a resource group
  • Create the Azure Kubernetes service
  • Prepare the environment variables
  • Log in to Azure from the command line
  • Create the namespace and secret for Kubernetes
  • Create the Azure Disk
  • Update the configuration file for the persistent volume
  • Update the Kubernetes configuration file
  • Create the persistent volume
  • Deploy the Kubernetes service
  • Configure the application gateway
  • Create a subscription and a resource group
  • Create the Azure Kubernetes service
  • Prepare the environment variables
  • Log in to Azure from the command line
  • Create the namespace and secret for Kubernetes
  • Create the Azure Disk
  • Update the configuration file for the persistent volume
  • Update the Kubernetes configuration file
  • Create the persistent volume
  • Deploy the Kubernetes service
  • Configure the application gateway

High-Performance Web Application Firewall (WAF) in OpenResty Edge

  • Enable WAF for applications
  • Test the WAF settings of applications
  • Disable and re-enable WAF
  • WAF whitelist
  • Change the block action after a WAF hit
  • Test the new block action
  • Create WAF rule set
  • The implementation of WAF in OpenResty Edge
  • Enable WAF for applications
  • Test the WAF settings of applications
  • Disable and re-enable WAF
  • WAF whitelist
  • Change the block action after a WAF hit
  • Test the new block action
  • Create WAF rule set
  • The implementation of WAF in OpenResty Edge

The EdgeLang DSL in OpenResty Edge

  • Introduction to Edgelang
  • Add a page rule defined using Edgelang
  • Test
  • Modify the Edgelang definition of the page rule
  • Define WAF rules using Edgelang
  • Edgelang user manual
  • Introduction to Edgelang
  • Add a page rule defined using Edgelang
  • Test
  • Modify the Edgelang definition of the page rule
  • Define WAF rules using Edgelang
  • Edgelang user manual

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

Configure HTTP basic auth in OpenResty Edge

  • Configure the HTTP basic auth credentials for applications
    • Add a basic auth user group
    • Enable the basic authentication
    • Test
  • Configure the global HTTP basic auth
    • Add a global basic auth user group
    • Configure the global auth for application
Photo by Yichun Zhang
  • Configure the HTTP basic auth credentials for applications
    • Add a basic auth user group
    • Enable the basic authentication
    • Test
  • Configure the global HTTP basic auth
    • Add a global basic auth user group
    • Configure the global auth for application
Contact us

Love to hear from you, Get in touch 👋

Message was sent successfully!

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