← Back
Tutorial

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

WAF Benchmark: OpenResty Edge 3.7–10x Faster than ModSecurity (208 Rules)

  • The Benchmark: 208 WAF Rules on One CPU Core
  • Why Rule Count Doesn’t Have to Hurt WAF Performance
  • How to Implement a WAF at the Edge: Four Steps
  • FAQ: WAF performance
  • The Benchmark: 208 WAF Rules on One CPU Core
  • Why Rule Count Doesn’t Have to Hurt WAF Performance
  • How to Implement a WAF at the Edge: Four Steps
  • FAQ: WAF performance

Open Source OpenResty vs. OpenResty Edge: Key Differences

  • Open Source vs. OpenResty Edge at a Glance
  • When Open Source Hits Its Limits: 6 Real Scenarios
  • Choosing the Right Path for Your Infrastructure
  • Open Source vs. OpenResty Edge at a Glance
  • When Open Source Hits Its Limits: 6 Real Scenarios
  • Choosing the Right Path for Your Infrastructure

Private CDN Solution: Enterprise Edge Architecture | OpenResty Edge

  • The Breaking Point: When Public CDNs Fail the Enterprise
  • The CDN Landscape: Public CDN vs. DIY Open Source vs. Commercial Private CDN
  • From OpEx to CapEx: The Business Case for a Private CDN
  • Why OpenResty Edge? Evaluating an Enterprise Private CDN Platform
  • The Edge Is Your Competitive Advantage — Not a Commodity
  • Frequently Asked Questions
  • The Breaking Point: When Public CDNs Fail the Enterprise
  • The CDN Landscape: Public CDN vs. DIY Open Source vs. Commercial Private CDN
  • From OpEx to CapEx: The Business Case for a Private CDN
  • Why OpenResty Edge? Evaluating an Enterprise Private CDN Platform
  • The Edge Is Your Competitive Advantage — Not a Commodity
  • Frequently Asked Questions

Zstd Compression in OpenResty Edge: Faster, Lighter Than Gzip and Brotli

  • The Evolution of Compression Algorithms
  • What is Zstandard (zstd)
  • Why Zstandard is Particularly Well-Suited for OpenResty Edge
  • How to Enable Zstandard (Zstd) Compression in OpenResty Edge
  • Zstd vs Brotli vs Gzip: Which Should You Serve?
  • The Evolution of Compression Algorithms
  • What is Zstandard (zstd)
  • Why Zstandard is Particularly Well-Suited for OpenResty Edge
  • How to Enable Zstandard (Zstd) Compression in OpenResty Edge
  • Zstd vs Brotli vs Gzip: Which Should You Serve?

SSL Certificate Automation with the ACME Protocol in OpenResty Edge

  • What is the ACME protocol?
  • Why you need ACME for automatic certificate management
  • How to set up automatic SSL certificate issuance and renewal in OpenResty Edge
  • What is the ACME protocol?
  • Why you need ACME for automatic certificate management
  • How to set up automatic SSL certificate issuance and renewal in OpenResty Edge

How to Set Up a Self-Hosted CDN: Step-by-Step Guide with OpenResty Edge

  • How OpenResty Edge Works: Edge Node, Admin, and Origin
  • What You’ll Need Before You Start
  • Step 1 — Install OpenResty Edge and Initialize the Cluster
  • Step 2 — Plan and Register Your Edge Nodes
  • Step 3 — Configure DNS and Traffic Routing
  • Step 4 — Set Up Caching Rules for High Hit Rates
  • Step 5 — Configure Edge Security Policies
  • Step 6 — Monitor Your CDN and Set Up Alerting
Photo by Yichun Zhang
  • How OpenResty Edge Works: Edge Node, Admin, and Origin
  • What You’ll Need Before You Start
  • Step 1 — Install OpenResty Edge and Initialize the Cluster
  • Step 2 — Plan and Register Your Edge Nodes
  • Step 3 — Configure DNS and Traffic Routing
  • Step 4 — Set Up Caching Rules for High Hit Rates
  • Step 5 — Configure Edge Security Policies
  • Step 6 — Monitor Your CDN and Set Up Alerting

Performance Breakthrough: 60% DNS Optimization Success with OpenResty XRay

  • When the “Lifeline” DNS Service Faces a Performance Crisis
  • How to Investigate the Culprit Step by Step with OpenResty XRay
  • Precision “Treatment”: Three Steps to Rebirth
  • Summary: What We Achieved in Just a Few Minutes
  • What is OpenResty XRay
  • When the “Lifeline” DNS Service Faces a Performance Crisis
  • How to Investigate the Culprit Step by Step with OpenResty XRay
  • Precision “Treatment”: Three Steps to Rebirth
  • Summary: What We Achieved in Just a Few Minutes
  • What is OpenResty XRay

The Swiss Army Knife for Dynamic Tracing, How Ylang Tames Complexity

  • Industry Pain Point: Why We Desperately Need a New Tracing Language
  • The Core Tech: What Makes Y Language a Game-Changer?
  • Ylang Syntax: The Familiarity of C, The Power of Advanced Tracing
  • Killer Applications: Solving Problems Beyond the Reach of Traditional Tools
  • Universal Platform Support: Y Lang Goes Everywhere
  • Compiler Wizardry: Forging a Superior Language with Superior Tools
  • Industry Pain Point: Why We Desperately Need a New Tracing Language
  • The Core Tech: What Makes Y Language a Game-Changer?
  • Ylang Syntax: The Familiarity of C, The Power of Advanced Tracing
  • Killer Applications: Solving Problems Beyond the Reach of Traditional Tools
  • Universal Platform Support: Y Lang Goes Everywhere
  • Compiler Wizardry: Forging a Superior Language with Superior Tools

Why Dynamic Tracing is the Future of Production Troubleshooting

  • The Unseen Crisis in Modern Software
  • Why Traditional Tools Are Failing
  • Dynamic Tracing: The New Paradigm for Troubleshooting
  • The OpenResty XRay Difference
  • From Firefighting to True Observability
  • The Unseen Crisis in Modern Software
  • Why Traditional Tools Are Failing
  • Dynamic Tracing: The New Paradigm for Troubleshooting
  • The OpenResty XRay Difference
  • From Firefighting to True Observability

Deep Dive into Dynamic Tracing Technology: How OpenResty XRay Revolutionizes Problem Diagnosis

  • Dynamic Tracing: A Powerful Tool for Solving Complex System Issues
  • Why Choose OpenResty XRay?
  • Product Focus: XRay Applications in Real-World Scenarios
  • Common Misconceptions and FAQs: What You Might Want to Know About Dynamic Tracing
  • Dynamic Tracing: A Powerful Tool for Solving Complex System Issues
  • Why Choose OpenResty XRay?
  • Product Focus: XRay Applications in Real-World Scenarios
  • Common Misconceptions and FAQs: What You Might Want to Know About Dynamic Tracing

The Next Stop for Observability: How OpenResty XRay Redefines Problem Troubleshooting

  • Why is Problem Troubleshooting Becoming Increasingly Difficult in Modern Software Architecture?
  • Trend Insights: The Future of Observability Technology
  • How Does Dynamic Tracing Technology Break Through Abstraction Layers?
  • Use Case: Real-time Statistics of Plugin Resource Consumption in Production Kong Services
  • Conclusion
  • Why is Problem Troubleshooting Becoming Increasingly Difficult in Modern Software Architecture?
  • Trend Insights: The Future of Observability Technology
  • How Does Dynamic Tracing Technology Break Through Abstraction Layers?
  • Use Case: Real-time Statistics of Plugin Resource Consumption in Production Kong Services
  • Conclusion

Traditional Methods vs. Dynamic Tracing: A Revolution in Efficiency and Control

  • A Revolution in Efficiency and Control
  • Dynamic Tracing: X-Ray Vision for Your Systems
  • From Flame Graphs to System Panorama
  • Why Choose OpenResty XRay?
  • The Future of Observability: New Frontiers in Dynamic Tracing
  • A Revolution in Efficiency and Control
  • Dynamic Tracing: X-Ray Vision for Your Systems
  • From Flame Graphs to System Panorama
  • Why Choose OpenResty XRay?
  • The Future of Observability: New Frontiers in Dynamic Tracing

Why is Dynamic Tracing Difficult to Implement? How Does OpenResty XRay Break Through?

  • Why is Problem Troubleshooting Becoming Increasingly Difficult in Modern Software Architecture?
  • Trend Insights: The Future of Observability Technology
  • How Does Dynamic Tracing Technology Break Through Abstraction Layers?
  • Use Case: Real-time Statistics of Plugin Resource Consumption in Production Kong Services
  • Conclusion
  • Why is Problem Troubleshooting Becoming Increasingly Difficult in Modern Software Architecture?
  • Trend Insights: The Future of Observability Technology
  • How Does Dynamic Tracing Technology Break Through Abstraction Layers?
  • Use Case: Real-time Statistics of Plugin Resource Consumption in Production Kong Services
  • Conclusion

Self-Optimization: The Performance Evolution of OpenResty XRay

  • Challenges and Pain Points
  • OpenResty XRay’s Self-Analysis Process
  • Remarkable Optimization Results
  • Technical Insights and Business Value
  • Conclusion
  • Challenges and Pain Points
  • OpenResty XRay’s Self-Analysis Process
  • Remarkable Optimization Results
  • Technical Insights and Business Value
  • Conclusion

Case Study: OpenResty XRay Doubles Ylang Compiler Performance

  • Case Study: OpenResty XRay Doubles Ylang Compiler Performance
  • Significant Optimization Results
  • Ylang Language: The Ideal Tool for Dynamic Tracing
  • A Model of Technical Synergy
  • Further Reading
  • Case Study: OpenResty XRay Doubles Ylang Compiler Performance
  • Significant Optimization Results
  • Ylang Language: The Ideal Tool for Dynamic Tracing
  • A Model of Technical Synergy
  • Further Reading

‘A Quick Tour to OpenResty XRay’s Web Console’

  • Introduction to Insight Page
  • Comprehensive Report Details
  • Dashboard Overview
  • Use Guided Analysis Feature to Analyze Online
  • Setting and Configuration
  • What is OpenResty XRay
  • Introduction to Insight Page
  • Comprehensive Report Details
  • Dashboard Overview
  • Use Guided Analysis Feature to Analyze Online
  • Setting and Configuration
  • What is OpenResty XRay

Diagnosing High Disk I/O in Python Applications with XRay

  • Identifying the Python process with high disk I/O
  • Tracing Python disk read and write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions
  • Identifying the Python process with high disk I/O
  • Tracing Python disk read and write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions

Install OpenResty XRay’s Agents on Kubernetes cluster

  • Logging in to the Console
  • Installing the Agent on Kubernetes cluster
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent on Kubernetes cluster
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Why Your Rust Process Has High Disk I/O (and How to Find the Cause)

  • Identifying the Rust process with high disk I/O
  • Tracing the hottest Rust disk write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions
  • Identifying the Rust process with high disk I/O
  • Tracing the hottest Rust disk write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions

Introduction to OpenResty XRay Mobile Apps

  • Download and install OpenResty XRay for Android
  • Sign into OpenResty XRay
  • Automatic analysis report
  • View the performance chart data on the dashboard page
  • Guided analysis feature
  • What is OpenResty XRay
  • Download and install OpenResty XRay for Android
  • Sign into OpenResty XRay
  • Automatic analysis report
  • View the performance chart data on the dashboard page
  • Guided analysis feature
  • What is OpenResty XRay

PHP Memory Profiler: Locate the Largest Memory Objects in a Live PHP Process

  • Symptom: a PHP process using high memory in top
  • Profile the process with OpenResty XRay guided analysis to find the largest PHP objects
  • Trace the largest object back to its source line
  • Monitor PHP process memory automatically with Insights reports
  • FAQ
  • What is OpenResty XRay
  • Symptom: a PHP process using high memory in top
  • Profile the process with OpenResty XRay guided analysis to find the largest PHP objects
  • Trace the largest object back to its source line
  • Monitor PHP process memory automatically with Insights reports
  • FAQ
  • What is OpenResty XRay

Accurately Restore the Real Client IP Address in OpenResty Edge

  • Set “Trusted hosts to set real IP” and “Real IP from” Globally
  • Configure the Application to Output the Client Address
  • Check the Client Address Received on OpenResty Edge
  • What is OpenResty Edge
Photo by Yichun Zhang
  • Set “Trusted hosts to set real IP” and “Real IP from” Globally
  • Configure the Application to Output the Client Address
  • Check the Client Address Received on OpenResty Edge
  • What is OpenResty Edge

Nginx 'No Debugging Symbols Found'? Rebuild Them Automatically with OpenResty XRay

  • Confirming Nginx Is Stripped and Debug Symbols Are Missing
  • Rebuild Missing Nginx Debug Symbols Automatically — No Recompile Needed
  • Continuous Analysis: Daily and Weekly Insights Reports
  • FAQ: nginx-dbg, recompiling, and profiling stripped binaries
  • Confirming Nginx Is Stripped and Debug Symbols Are Missing
  • Rebuild Missing Nginx Debug Symbols Automatically — No Recompile Needed
  • Continuous Analysis: Daily and Weekly Insights Reports
  • FAQ: nginx-dbg, recompiling, and profiling stripped binaries

Install OpenResty XRay’s Agents on Amazon Linux via Package Bundles

  • Logging in to the Console
  • Installing the Agent via Bundle Packages
  • 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 Bundle Packages
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Debugging High Disk I/O in Go Services on Linux

  • Identifying the Go process with high disk I/O
  • Tracing Go disk read and write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions
  • Identifying the Go process with high disk I/O
  • Tracing Go disk read and write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions

Control Access to DNS Applications in OpenResty Edge's Admin Console

  • Check DNS page permissions as a super user
  • Create a user group with only read permission for this DNS application
  • Create a tester account
  • See the DNS applications with permission granted
  • What is OpenResty Edge
  • Check DNS page permissions as a super user
  • Create a user group with only read permission for this DNS application
  • Create a tester account
  • See the DNS applications with permission granted
  • What is OpenResty Edge

How CPU Time is Spent inside Envoy Servers (using OpenResty XRay)

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

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

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

Call Lua modules by Edgelang in OpenResty Edge

  • Create a Lua module in OpenResty Edge
  • Call the Lua module in an HTTP application of OpenResty Edge
  • Verify the effect of calling the Lua module
  • What is OpenResty Edge
  • Create a Lua module in OpenResty Edge
  • Call the Lua module in an HTTP application of OpenResty Edge
  • Verify the effect of calling the Lua module
  • What is OpenResty Edge
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