OpenResty XRay Aug 24, 2026OpenResty XRay Updated Aug 24, 2026 11 mins readAutomatic Analysis Reports in OpenResty XRayopenresty-xray reportsThe PastThe PresentThe FutureThe PastThe PresentThe Future
OpenResty XRay Aug 24, 2026OpenResty XRay Updated Aug 24, 2026 8 mins readHow a Single "0" Took Down Bilibili — Every Server at 100% CPU, and Reboots Didn't Helpdynamic-tracing openresty-xray bilibiliThe Platform Behind Hundreds of Millions of StreamsThe July 2021 Bilibili Outage: When Rebooting Doesn’t HelpFinding the Root Cause with CPU Flame GraphsOne Type Mismatch, Entire System DownThe Platform Behind Hundreds of Millions of StreamsThe July 2021 Bilibili Outage: When Rebooting Doesn’t HelpFinding the Root Cause with CPU Flame GraphsOne Type Mismatch, Entire System Down
OpenResty XRay Sep 9, 2026OpenResty XRay Updated Sep 9, 2026 11 mins readNginx Regex Performance: Find Slow Patterns with Dynamic Tracingregex openresty-xray dynamic-tracing nginxPrerequisites and SetupLocate Slow Regex with CPU Flame GraphsPerformance After Regex OptimizationLimit PCRE Backtracking with lua_regex_match_limitNon-Backtracking Engines: RE2 and OpenResty RegexLua Built-in Patterns as a Regex AlternativeTrace Regex Performance in Docker and KubernetesHow the Dynamic-Tracing Tools WorkTool Overhead: Zero Impact When Not SamplingFAQ: Nginx Regex PerformancePrerequisites and SetupLocate Slow Regex with CPU Flame GraphsPerformance After Regex OptimizationLimit PCRE Backtracking with lua_regex_match_limitNon-Backtracking Engines: RE2 and OpenResty RegexLua Built-in Patterns as a Regex AlternativeTrace Regex Performance in Docker and KubernetesHow the Dynamic-Tracing Tools WorkTool Overhead: Zero Impact When Not SamplingFAQ: Nginx Regex Performance
OpenResty XRay Sep 9, 2026OpenResty XRay Updated Sep 9, 2026 9 mins readListing Loaded Lua Modules in OpenResty or Nginx Processesylua openresty-xray nginx lua dynamic-tracingSystem EnvironmentNames of Loaded Lua ModulesRunning Directly in the Web ConsoleTracing Applications inside ContainersHow The Tools are ImplementedThe Overhead of the ToolsSystem EnvironmentNames of Loaded Lua ModulesRunning Directly in the Web ConsoleTracing Applications inside ContainersHow The Tools are ImplementedThe Overhead of the Tools
OpenResty XRay Sep 9, 2026OpenResty XRay Updated Sep 9, 2026 13 mins readNginx High CPU Usage: Find Which Requests Consume the Most CPUtutorial cpu nginx openresty-xray ysqlPrerequisites and Environment SetupFind Which Request Hostname Uses the Most CPUFind Which Request URI Uses the Most CPUDigging Deeper: Why Some Hostnames Use More CPURunning the Tools in the Web ConsoleTracing Nginx CPU Usage Inside ContainersHow the CPU Profiling Tools WorkThe Overhead of the Profiling ToolsFrequently Asked QuestionsPrerequisites and Environment SetupFind Which Request Hostname Uses the Most CPUFind Which Request URI Uses the Most CPUDigging Deeper: Why Some Hostnames Use More CPURunning the Tools in the Web ConsoleTracing Nginx CPU Usage Inside ContainersHow the CPU Profiling Tools WorkThe Overhead of the Profiling ToolsFrequently Asked Questions
OpenResty Edge Aug 26, 2026OpenResty Edge Updated Aug 26, 2026 7 mins readConfigure HTTP Basic Auth in OpenResty Edge — No Server Reload or Restarttutorial openresty-edge authentication basic-authConfigure the HTTP basic auth credentials for applicationsAdd a basic auth user groupEnable basic auth with a page ruleTest basic auth in a browser and with curlConfigure global HTTP basic auth across all applicationsAdd a global basic auth user groupConfigure the global auth for applicationConfigure the HTTP basic auth credentials for applicationsAdd a basic auth user groupEnable basic auth with a page ruleTest basic auth in a browser and with curlConfigure global HTTP basic auth across all applicationsAdd a global basic auth user groupConfigure the global auth for application
OpenResty Edge Jun 26, 2026OpenResty Edge Updated Jun 26, 2026 6 mins readHow to use custom dynamic metrics in OpenResty Edgetutorial openresty-edge metrics monitorIntroduction to dynamic metricsCreate custom dynamic metrics for the sample applicationTestIntroduction to dynamic metricsCreate custom dynamic metrics for the sample applicationTest
OpenResty Edge Aug 10, 2026OpenResty Edge Updated Aug 10, 2026 6 mins readLimit Request Rate by Custom Keys in OpenResty Edgetutorial openresty-edge proxy rate-limit dos-attacksAdd a request rate-limiting page rule in OpenResty EdgeTest the rate limit with wrkLimit the rate of SSL/TLS handshakesOpenResty Edge rate limiting FAQAdd a request rate-limiting page rule in OpenResty EdgeTest the rate limit with wrkLimit the rate of SSL/TLS handshakesOpenResty Edge rate limiting FAQ
OpenResty XRay Aug 28, 2026OpenResty XRay Updated Aug 28, 2026 15 mins readYlang in Production: Container Tracing, Stack Unwinding & Core Dumps (Series Part 4)ylang openresty-xray dynamic-tracingTransparent Container TracingEfficient Stack UnwindingAnalyzing Dead Processes (Core Dumps)Very Low Tracing OverheadStandard Ylang Libraries & ToolsNetwork Filtering & ControlThe Ylang Compiler’s ImplementationOperating System SupportContributions to Open-Source CommunitiesTransparent Container TracingEfficient Stack UnwindingAnalyzing Dead Processes (Core Dumps)Very Low Tracing OverheadStandard Ylang Libraries & ToolsNetwork Filtering & ControlThe Ylang Compiler’s ImplementationOperating System SupportContributions to Open-Source Communities
OpenResty XRay Aug 6, 2026OpenResty XRay Updated Aug 6, 2026 11 mins readYlang: Regex, Full Control Flow & Transparent Debug Symbol Handling (Series Part 3)ylang openresty-xray dynamic-tracingThe Language Syntax (Continued)String LiteralsBuilt-in Regex SupportFull Control-Flow SupportFloating-Point Number SupportCompared to Open-Source ToolchainsTransparent Debug Symbol HandlingDebug Symbols: No Runtime OverheadCentralized Package DatabaseFuzzy Matching Debug SymbolsThe Language Syntax (Continued)String LiteralsBuilt-in Regex SupportFull Control-Flow SupportFloating-Point Number SupportCompared to Open-Source ToolchainsTransparent Debug Symbol HandlingDebug Symbols: No Runtime OverheadCentralized Package DatabaseFuzzy Matching Debug Symbols
OpenResty XRay Aug 6, 2026OpenResty XRay Updated Aug 6, 2026 15 mins readYlang Syntax: Probes, Tracer/Tracee Spaces & Built-in Data Types (Series Part 2)ylang openresty-xray dynamic-tracingThe Language Syntax (Continued)Macros with ExtensionsTracer and Tracee SpacesProbesExtended Variable TypesThe Language Syntax (Continued)Macros with ExtensionsTracer and Tracee SpacesProbesExtended Variable Types
OpenResty XRay Aug 28, 2026OpenResty XRay Updated Aug 28, 2026 15 mins readYlang: A Dynamic Tracing Language for eBPF, SystemTap, GDB, and More (Part 1 of 4)ylang openresty-xray dynamic-tracingWhat is Dynamic TracingWhy the “Y” NameGetting Started with YlangDynamic Tracing Backends: eBPF+, Stap+, GDB, and ODBWhy a Unified Frontend Language for Dynamic TracingThe Ylang Syntax: Genuinely C-CompatibleFrequently Asked QuestionsWhat is Dynamic TracingWhy the “Y” NameGetting Started with YlangDynamic Tracing Backends: eBPF+, Stap+, GDB, and ODBWhy a Unified Frontend Language for Dynamic TracingThe Ylang Syntax: Genuinely C-CompatibleFrequently Asked Questions
OpenResty Edge Aug 26, 2026OpenResty Edge Updated Aug 26, 2026 7 mins readHow to Release and Roll Back Gateway Config in OpenResty Edge: Version Control Without Reloadtutorial openresty-edge page-rule releases version-controlCreate a page rule for the sample applicationRelease the page rule to all gateway clustersTest the released config with curlModify the page ruleRelease the modified configTest the modified configRevert the latest config releaseTest the reverted configRoll back to any earlier releaseCreate a page rule for the sample applicationRelease the page rule to all gateway clustersTest the released config with curlModify the page ruleRelease the modified configTest the modified configRevert the latest config releaseTest the reverted configRoll back to any earlier release
OpenResty Showman Jun 26, 2026OpenResty Showman Updated Jun 26, 2026 10 mins readAuto-Generate Demo Videos for Google Search from Screenplay Docs (via OpenResty Showman)tutorial openresty-showman navlang google screenplay
OpenResty Edge Aug 28, 2026OpenResty Edge Updated Aug 28, 2026 4 mins readSet Different Host Headers for Upstream Requests in OpenResty Edgetutorial openresty-edge host upstreamBefore setting the Host header of the upstream requestSet the Host header of the upstream requestTest of the new page ruleBefore setting the Host header of the upstream requestSet the Host header of the upstream requestTest of the new page rule
OpenResty Open Source Aug 24, 2026OpenResty Open Source Updated Aug 24, 2026 2 mins readOfficial OpenResty Debian 11 package repoopenresty debian-11 pre-build-packages packages
OpenResty Edge Aug 25, 2026OpenResty Edge Updated Aug 25, 2026 8 mins readRedirect Based on Browser Language in OpenResty Edge: Accept-Language Page Ruletutorial openresty-edge redirect languagesRedirect based on browser language with an Accept-Language page ruleMatch the root URI and the Accept-Language header with a regexTest the French redirect with curlAdd a fallback rule that redirects other languages to EnglishShip changes to every gateway node with no Nginx reloadRedirect based on browser language with an Accept-Language page ruleMatch the root URI and the Accept-Language header with a regexTest the French redirect with curlAdd a fallback rule that redirects other languages to EnglishShip changes to every gateway node with no Nginx reload
OpenResty Open Source Aug 24, 2026OpenResty Open Source Updated Aug 24, 2026 2 mins readOpenResty 1.19.9.1 releasedopenresty releasesVersion highlightsFull ChangelogAlpine 3.14 official releaseVersion highlightsFull ChangelogAlpine 3.14 official release
OpenResty Edge Jul 29, 2026OpenResty Edge Updated Jul 29, 2026 6 mins readRedirect HTTP to HTTPS in OpenResty Edge: 301 Page Rule to Enforce SSLtutorial openresty-edge ssl https redirectCreate a page rule to redirect all HTTP requests to HTTPSRelease the 301 redirect rule to all gateway clustersTest the HTTP to HTTPS redirect with curlCreate a page rule to redirect all HTTP requests to HTTPSRelease the 301 redirect rule to all gateway clustersTest the HTTP to HTTPS redirect with curl
OpenResty Edge Jul 29, 2026OpenResty Edge Updated Jul 29, 2026 8 mins readAutomatic Let's Encrypt SSL Renewal, No Cron — OpenResty Edgetutorial openresty-edge ssl certificates lets-encryptAdd the domains to your Edge applicationIssue and auto-renew a Let’s Encrypt SSL certificateVerify HTTPS and the Let’s Encrypt certificate on a gatewayAdd the domains to your Edge applicationIssue and auto-renew a Let’s Encrypt SSL certificateVerify HTTPS and the Let’s Encrypt certificate on a gateway