Featured Articles

Photo by Yichun Zhang

One String Value Crashed Asia's Biggest Streaming Site — We Found It with OpenResty XRay

One String Value Crashed Asia's Biggest Streaming Site — We Found It with OpenResty XRay

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

Anatomy of a 15x Performance Drop: A 90k to 6k QPS Root Cause Analysis with OpenResty XRay

Anatomy of a 15x Performance Drop: A 90k to 6k QPS Root Cause Analysis with OpenResty XRay

Anatomy of a 15x Performance Drop: A 90k to 6k QPS Root Cause Analysis with OpenResty XRay

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

CDN for Live Streaming: Surviving Peak Events Without Peak-Event Bills

  • Why live streams crash at peak: running day-to-day doesn’t mean surviving the peak
  • How a private CDN turns peak stability from probability into certainty
  • Live streaming CDN cost comparison: surviving the peak isn’t paying for the peak
  • The real cost of a private CDN: not the same as building from scratch
  • Beyond delivery: what a live streaming scenario needs from the same gateway layer
  • FAQ
  • Why live streams crash at peak: running day-to-day doesn’t mean surviving the peak
  • How a private CDN turns peak stability from probability into certainty
  • Live streaming CDN cost comparison: surviving the peak isn’t paying for the peak
  • The real cost of a private CDN: not the same as building from scratch
  • Beyond delivery: what a live streaming scenario needs from the same gateway layer
  • FAQ

Building a Self-Hosted Live Streaming CDN for HLS with OpenResty Edge

  • Why live HLS breaks a naive caching setup
  • Building it on OpenResty Edge: two page rules with opposite TTLs
  • The most critical step: the Use stale proxy cache action
  • A shield tier with gateway partitions: collapsing to one fetch network-wide
  • Verifying the configuration and load testing
  • FAQ
  • Why live HLS breaks a naive caching setup
  • Building it on OpenResty Edge: two page rules with opposite TTLs
  • The most critical step: the Use stale proxy cache action
  • A shield tier with gateway partitions: collapsing to one fetch network-wide
  • Verifying the configuration and load testing
  • FAQ

Install OpenResty - Complete Setup Guide for All Platforms

  • Supported Platforms
  • Quick Start (Ubuntu / Debian)
  • Platform Installation Guides
  • ARM64 / Aarch64
  • Alpine Linux
  • macOS & Building from Source
  • Verify Your Installation
  • FAQ
  • Supported Platforms
  • Quick Start (Ubuntu / Debian)
  • Platform Installation Guides
  • ARM64 / Aarch64
  • Alpine Linux
  • macOS & Building from Source
  • Verify Your Installation
  • FAQ

Taming Internal Traffic Chaos with OpenResty Edge

  • The essential differences between north-south and east-west traffic governance
  • Four engineering pain points in the microservices deep end
  • Mesh vs. centralized internal gateway: a route comparison and OpenResty Edge’s engineering positioning
  • A three-phase progressive rollout path and pragmatic recommendations
  • The essential differences between north-south and east-west traffic governance
  • Four engineering pain points in the microservices deep end
  • Mesh vs. centralized internal gateway: a route comparison and OpenResty Edge’s engineering positioning
  • A three-phase progressive rollout path and pragmatic recommendations

OpenResty Edge Version 26.6.8 Now Available

  • Core Highlights
  • Enhanced Features & Increased Flexibility
  • Improved Usability & Observability
  • Key Fixes and Stability Enhancements
  • How to Upgrade?
  • Core Highlights
  • Enhanced Features & Increased Flexibility
  • Improved Usability & Observability
  • Key Fixes and Stability Enhancements
  • How to Upgrade?

Built-In DDoS Defense for OpenResty Edge—Without Another Appliance or a Second Ops Surface

  • The impossible triangle of DDoS defense
  • OpenResty Edge design choices: achieving all three goals at once
  • Performance as engineering fact, not a slogan
  • Automation as a prerequisite for DDoS defense, not a nice-to-have
  • Observability: transparency is the foundation of trust
  • Building a built-in, adaptive defense stack
  • The impossible triangle of DDoS defense
  • OpenResty Edge design choices: achieving all three goals at once
  • Performance as engineering fact, not a slogan
  • Automation as a prerequisite for DDoS defense, not a nice-to-have
  • Observability: transparency is the foundation of trust
  • Building a built-in, adaptive defense stack

OpenResty Edge Data Protection: From Scheduled Backups to Automatic Failover

  • First line: scheduled backups and off-host sync
  • Second line: primary–standby streaming replication
  • Third line: automatic failover cluster
  • Comparing the three approaches and selection guidance
  • First line: scheduled backups and off-host sync
  • Second line: primary–standby streaming replication
  • Third line: automatic failover cluster
  • Comparing the three approaches and selection guidance

Automating Kubernetes Gateway Node Lifecycle with OpenResty Edge

  • The gateway dilemma in the Kubernetes era: static control models vs. cloud-native reality
  • Capability one: automated lifecycle management for gateway nodes
  • Capability two: multiple K8s clusters and unified control
  • Capability three: a two-tier upstream system
  • Summary
  • The gateway dilemma in the Kubernetes era: static control models vs. cloud-native reality
  • Capability one: automated lifecycle management for gateway nodes
  • Capability two: multiple K8s clusters and unified control
  • Capability three: a two-tier upstream system
  • Summary

lua-cjson Too Slow? jit.cjson Speeds Up JSON Encoding in OpenResty 18x

  • Where Exactly Is the Performance Ceiling?
  • Common Workaround Strategies and Their Limitations
  • Why Custom Development or Hacking Existing Libraries is a Bad Idea
  • Seeking a More Direct Breakthrough
  • Infrastructure-Level Optimization: jit.cjson
  • Why the Official Solution is the Safer Bet
  • Minimal Adoption Cost
  • Where Exactly Is the Performance Ceiling?
  • Common Workaround Strategies and Their Limitations
  • Why Custom Development or Hacking Existing Libraries is a Bad Idea
  • Seeking a More Direct Breakthrough
  • Infrastructure-Level Optimization: jit.cjson
  • Why the Official Solution is the Safer Bet
  • Minimal Adoption Cost

Minify HTML, CSS & JS Inside Nginx: OpenResty's 120 MB/s Streaming Minifiers

  • When You Can’t Touch the Build Pipeline
  • Why a Regex Won’t Cut It
  • Three Approaches That Almost Work
  • A Streaming FSM for Each Language, Compiled to Native Code
  • Five-Minute Setup: A Configuration Example
  • Four Things to Know Before Going Live
  • When You Can’t Touch the Build Pipeline
  • Why a Regex Won’t Cut It
  • Three Approaches That Almost Work
  • A Streaming FSM for Each Language, Compiled to Native Code
  • Five-Minute Setup: A Configuration Example
  • Four Things to Know Before Going Live
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