Featured Articles

Photo by Yichun Zhang

How a Single "0" Took Down Bilibili — Every Server at 100% CPU, and Reboots Didn't Help

How a Single "0" Took Down Bilibili — Every Server at 100% CPU, and Reboots Didn't Help

Binary Vulnerability Scanning: Catch Backported Patches, Cut False Positives

Binary Vulnerability Scanning: Catch Backported Patches, Cut False Positives

Binary Vulnerability Scanning: Catch Backported Patches, Cut False Positives

Introduction to OpenResty XRay

Introduction to OpenResty XRay

Introduction to OpenResty XRay

Nginx Reverse Proxy QPS Dropped 15x: A Missing upstream keepalive and an -O0 Debug Build

Nginx Reverse Proxy QPS Dropped 15x: A Missing upstream keepalive and an -O0 Debug Build

Nginx Reverse Proxy QPS Dropped 15x: A Missing upstream keepalive and an -O0 Debug Build

Non-Invasive Java Profiler: Capture Method Arguments in Production Without a Java Agent

Non-Invasive Java Profiler: Capture Method Arguments in Production Without a Java Agent

Non-Invasive Java Profiler: Capture Method Arguments in Production Without a Java Agent

Photo by Philip Brown

The Wonderland of Dynamic Tracing (Part 1 of 3)

The Wonderland of Dynamic Tracing (Part 1 of 3)

Photo by Jose G. Ortega Castro

How OpenResty and Nginx Shared Memory Zones Consume RAM

How OpenResty and Nginx Shared Memory Zones Consume RAM

Photo by Harrison Broadbent

Nginx Memory Usage Explained: Where the RAM Actually Goes

Nginx Memory Usage Explained: Where the RAM Actually Goes

OpenResty XRay reduce your CPU usage up to  90%
OpenResty XRay reduce your CPU usage up to 90%
Request free trial

Latest Articles

Ylang: Regex, Full Control Flow & Transparent Debug Symbol Handling (Series 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

Ylang: A Dynamic Tracing Language for eBPF, SystemTap, GDB, and More (Part 1 of 4)

  • What is Dynamic Tracing
  • Why the “Y” Name
  • Getting Started with Ylang
  • Dynamic Tracing Backends: eBPF+, Stap+, GDB, and ODB
  • Why a Unified Frontend Language for Dynamic Tracing
  • The Ylang Syntax: Genuinely C-Compatible
  • Frequently Asked Questions
Photo by Yichun Zhang
  • What is Dynamic Tracing
  • Why the “Y” Name
  • Getting Started with Ylang
  • Dynamic Tracing Backends: eBPF+, Stap+, GDB, and ODB
  • Why a Unified Frontend Language for Dynamic Tracing
  • The Ylang Syntax: Genuinely C-Compatible
  • Frequently Asked Questions

How to Release and Roll Back Gateway Config in OpenResty Edge: Version Control Without Reload

  • Create a page rule for the sample application
  • Release the page rule to all gateway clusters
  • Test the released config with curl
  • Modify the page rule
  • Release the modified config
  • Test the modified config
  • Revert the latest config release
  • Test the reverted config
  • Roll back to any earlier release
Photo by Yichun Zhang
  • Create a page rule for the sample application
  • Release the page rule to all gateway clusters
  • Test the released config with curl
  • Modify the page rule
  • Release the modified config
  • Test the modified config
  • Revert the latest config release
  • Test the reverted config
  • Roll back to any earlier release

Redirect Based on Browser Language in OpenResty Edge: Accept-Language Page Rule

  • Redirect based on browser language with an Accept-Language page rule
  • Match the root URI and the Accept-Language header with a regex
  • Test the French redirect with curl
  • Add a fallback rule that redirects other languages to English
  • Ship changes to every gateway node with no Nginx reload
Photo by Yichun Zhang
  • Redirect based on browser language with an Accept-Language page rule
  • Match the root URI and the Accept-Language header with a regex
  • Test the French redirect with curl
  • Add a fallback rule that redirects other languages to English
  • Ship changes to every gateway node with no Nginx reload

OpenResty 1.19.9.1 released

  • Version highlights
  • Full Changelog
  • Alpine 3.14 official release
  • Version highlights
  • Full Changelog
  • Alpine 3.14 official release

OpenResty 1.19.9.1 RC1 is out

  • Source package
  • Windows binary packages
  • Version highlights
  • Source package
  • Windows binary packages
  • Version highlights

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

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