← Back
Tutorial

Nginx High CPU Usage: Find Which Requests Consume the Most CPU

  • Prerequisites and Environment Setup
  • Find Which Request Hostname Uses the Most CPU
  • Find Which Request URI Uses the Most CPU
  • Digging Deeper: Why Some Hostnames Use More CPU
  • Running the Tools in the Web Console
  • Tracing Nginx CPU Usage Inside Containers
  • How the CPU Profiling Tools Work
  • The Overhead of the Profiling Tools
  • Frequently Asked Questions
Photo by Yichun Zhang
  • Prerequisites and Environment Setup
  • Find Which Request Hostname Uses the Most CPU
  • Find Which Request URI Uses the Most CPU
  • Digging Deeper: Why Some Hostnames Use More CPU
  • Running the Tools in the Web Console
  • Tracing Nginx CPU Usage Inside Containers
  • How the CPU Profiling Tools Work
  • The Overhead of the Profiling Tools
  • Frequently Asked Questions

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

Gateway Config's Version Control & Release Management in OpenResty Edge

  • Create a page rule for the sample application
  • Release the page rule
  • Test
  • Modify the page rule
  • Release the modification
  • Test the modification
  • Revert the release
  • Test of the release reverting
Photo by Yichun Zhang
  • Create a page rule for the sample application
  • Release the page rule
  • Test
  • Modify the page rule
  • Release the modification
  • Test the modification
  • Revert the release
  • Test of the release reverting

Redirect to different URIs Based on Clients' Language Settings (OpenResty Edge)

  • The origin site which supports different languages
  • Create a page rule for redirection
  • Test the new page rule
  • Add a new page rule to redirect to the English page
  • Test the new page rule
Photo by Yichun Zhang
  • The origin site which supports different languages
  • Create a page rule for redirection
  • Test the new page rule
  • Add a new page rule to redirect to the English page
  • Test the new page rule

Automatic Let's Encrypt SSL Renewal, No Cron — OpenResty Edge

  • Add the domains to your Edge application
  • Issue and auto-renew a Let’s Encrypt SSL certificate
  • Verify HTTPS and the Let’s Encrypt certificate on a gateway
Photo by Yichun Zhang
  • Add the domains to your Edge application
  • Issue and auto-renew a Let’s Encrypt SSL certificate
  • Verify HTTPS and the Let’s Encrypt certificate on a gateway

Upload SSL Certificates for HTTPS Sites in OpenResty Edge

  • Upload the SSL certificate and private key in the Edge console
  • Push the new certificate without a server reload or restart
  • Test the uploaded certificate with curl –resolve
Photo by Yichun Zhang
  • Upload the SSL certificate and private key in the Edge console
  • Push the new certificate without a server reload or restart
  • Test the uploaded certificate with curl –resolve

How to Run a Real-Time Cache Purge Network-Wide in OpenResty Edge

  • Create a real-time cache purge job in OpenResty Edge
  • Verify the cache status with the Cache-Status header
  • Purge cache across the whole network with no reload
  • Purge cache by URL prefix
  • Custom purge conditions
  • FAQ
Photo by Yichun Zhang
  • Create a real-time cache purge job in OpenResty Edge
  • Verify the cache status with the Cache-Status header
  • Purge cache across the whole network with no reload
  • Purge cache by URL prefix
  • Custom purge conditions
  • FAQ

Enable HTTP Cache in OpenResty Edge: Proxy Cache Without Cache-Control Headers

  • Enable proxy cache in a page rule and set the cache key
  • Test the cache and verify Cache-Status HIT/MISS with curl
  • Enforce caching without a Cache-Control header
  • Frequently asked questions
Photo by Yichun Zhang
  • Enable proxy cache in a page rule and set the cache key
  • Test the cache and verify Cache-Status HIT/MISS with curl
  • Enforce caching without a Cache-Control header
  • Frequently asked questions

How to Set Up a Simple Reverse Proxy and Load Balancer with OpenResty Edge

  • Set up an OpenResty Edge reverse proxy and load balancer from the web console
  • Create an application and an upstream for your backend
  • Add a round-robin page rule
  • Release the config to every gateway node and verify with curl
Photo by Yichun Zhang
  • Set up an OpenResty Edge reverse proxy and load balancer from the web console
  • Create an application and an upstream for your backend
  • Add a round-robin page rule
  • Release the config to every gateway node and verify with curl
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