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

lua-resty-kafka Blocking Your Nginx Workers? Meet lua-resty-kafka-fast

  • Three Common Anti-Patterns We See in Production
  • What is lua-resty-kafka-fast
  • lua-resty-kafka vs lua-resty-kafka-fast
  • What This Changes at the Architecture Level
  • FAQ
  • Three Common Anti-Patterns We See in Production
  • What is lua-resty-kafka-fast
  • lua-resty-kafka vs lua-resty-kafka-fast
  • What This Changes at the Architecture Level
  • FAQ

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

  • A 15x Slower Nginx Reverse Proxy β€” and No Errors in the Logs
  • Flame Graphs Expose a Connection Storm: The Missing upstream keepalive
  • The Remaining 10% Gap: Baseline Comparison Points to the Compiler
  • How an -O0 Debug Build Cost Us 10% of Performance
  • A 15x Slower Nginx Reverse Proxy β€” and No Errors in the Logs
  • Flame Graphs Expose a Connection Storm: The Missing upstream keepalive
  • The Remaining 10% Gap: Baseline Comparison Points to the Compiler
  • How an -O0 Debug Build Cost Us 10% of Performance

TLS Session Resumption in Nginx Clusters: Zero-Downtime Key Rotation

  • Why Session Ticket Key Management Is Harder Than It Looks
  • How lua-resty-tls-session Rotates Session Ticket Keys Without Restarts
  • Comparing the Three Approaches
  • Quantifying Latency Reduction and Uptime Gains
  • FAQ
  • Why Session Ticket Key Management Is Harder Than It Looks
  • How lua-resty-tls-session Rotates Session Ticket Keys Without Restarts
  • Comparing the Three Approaches
  • Quantifying Latency Reduction and Uptime Gains
  • FAQ

The Nginx Worker That Refused to Serve More Than 300 RPS: Traced to a 75ms Event-Loop Block

  • High Load but No Useful Work: CPU Contention from a Missing worker_cpu_affinity
  • How Blocking Lua I/O Calls Halted the Nginx Event Loop
  • Measuring File I/O Latency: Up to 1.5ms per Call
  • How Bad Was the Nginx Event-Loop Blocking? 43,952 Samples, a 75ms Worst Case
  • Frequently Asked Questions
  • High Load but No Useful Work: CPU Contention from a Missing worker_cpu_affinity
  • How Blocking Lua I/O Calls Halted the Nginx Event Loop
  • Measuring File I/O Latency: Up to 1.5ms per Call
  • How Bad Was the Nginx Event-Loop Blocking? 43,952 Samples, a 75ms Worst Case
  • Frequently Asked Questions

UDB + OpenResty XRay: Unlocking the Mystery of OpenResty Application Performance

  • How OpenResty XRay Enhances Efficiency with UDB
  • Hands-On: Analyzing OpenResty Lua Call Stacks with UDB and OpenResty XRay
  • Advantages of Time-Travel Debugging
  • Summary
  • How OpenResty XRay Enhances Efficiency with UDB
  • Hands-On: Analyzing OpenResty Lua Call Stacks with UDB and OpenResty XRay
  • Advantages of Time-Travel Debugging
  • Summary

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

Listing Loaded Lua Modules in OpenResty or Nginx Processes

  • System Environment
  • Names of Loaded Lua Modules
  • Running Directly in the Web Console
  • Tracing Applications inside Containers
  • How The Tools are Implemented
  • The Overhead of the Tools
Photo by Yichun Zhang
  • System Environment
  • Names of Loaded Lua Modules
  • Running Directly in the Web Console
  • Tracing Applications inside Containers
  • How The Tools are Implemented
  • The Overhead of the Tools
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