Featured Articles

Photo by Yichun Zhang

LuaJIT Bytecode in OpenResty - How to Precompile Lua Modules

LuaJIT Bytecode in OpenResty - How to Precompile Lua Modules

Photo by Gerry Roarty

How to Write Lua Modules in OpenResty: A Step-by-Step Example

How to Write Lua Modules in OpenResty: A Step-by-Step Example

Photo by 2Photo Pots

Hello World HTTP Example in OpenResty

Hello World HTTP Example in OpenResty

Photo by Guido Jansen

Lua CPU Flame Graphs: Profiling LuaJIT in Production

Lua CPU Flame Graphs: Profiling LuaJIT in Production

Photo by Harrison Broadbent

Nginx Memory Usage Explained: Where the RAM Actually Goes

Nginx Memory Usage Explained: Where the RAM Actually Goes

Latest Articles

How to Install and Load Third-Party Lua Libraries in OpenResty

  • Check whether OpenResty already includes the library
  • Install a third-party library in the project with OPM
  • Configure lua_package_path and verify require
  • Troubleshoot module not found and choose another installation method
  • Check whether OpenResty already includes the library
  • Install a third-party library in the project with OPM
  • Configure lua_package_path and verify require
  • Troubleshoot module not found and choose another installation method

OpenResty Components: Modules, Lua Libraries, and How to Check Them

  • What common components do
  • The difference between NGINX modules and Lua libraries
  • Where components are installed
  • Checking which components your installation includes
  • Common questions
Photo by Yichun Zhang
  • What common components do
  • The difference between NGINX modules and Lua libraries
  • Where components are installed
  • Checking which components your installation includes
  • Common questions

OpenResty vs. NGINX: When the Gateway Starts Running Business Logic

  • What OpenResty solves as gateways accumulate business logic
  • When OpenResty is needed compared with vanilla NGINX and njs
  • Performance differences and migration considerations
Photo by Yichun Zhang
  • What OpenResty solves as gateways accumulate business logic
  • When OpenResty is needed compared with vanilla NGINX and njs
  • Performance differences and migration considerations

High-Concurrency Redis Access in OpenResty: Stable Connection Counts, Lower P99 Latency

  • Smooth Day to Day, Down at Peak? Stop Connection Spikes and Quota Anxiety
  • When Upfront Lookups Slow Down, Users Wait for Pages and Results
  • Two GET Benchmarks: Much Higher Throughput, P99 Under 1 ms in Both
  • Smooth Day to Day, Down at Peak? Stop Connection Spikes and Quota Anxiety
  • When Upfront Lookups Slow Down, Users Wait for Pages and Results
  • Two GET Benchmarks: Much Higher Throughput, P99 Under 1 ms in Both

LuaJIT in OpenResty: How It Works and How luajit2 Differs

  • Which Lua runtime OpenResty uses
  • How Lua code runs inside Nginx workers
  • How LuaJIT interprets and compiles code
  • How luajit2 differs from upstream LuaJIT
  • How LuaJIT-plus relates to the standard runtime
  • LuaJIT vs luajit2: frequently asked questions
  • Where to continue reading by problem
  • Which Lua runtime OpenResty uses
  • How Lua code runs inside Nginx workers
  • How LuaJIT interprets and compiles code
  • How luajit2 differs from upstream LuaJIT
  • How LuaJIT-plus relates to the standard runtime
  • LuaJIT vs luajit2: frequently asked questions
  • Where to continue reading by problem

What Is OpenResty? From Nginx and LuaJIT to Real-World Use Cases

  • What OpenResty Is Used For
  • How OpenResty Works
  • Do You Need to Know Lua?
  • Is OpenResty a Web Server? How Does It Relate to Nginx?
  • What OpenResty Is Made Of
  • Who Uses OpenResty
  • Who Maintains OpenResty
  • FAQ
Photo by Yichun Zhang
  • What OpenResty Is Used For
  • How OpenResty Works
  • Do You Need to Know Lua?
  • Is OpenResty a Web Server? How Does It Relate to Nginx?
  • What OpenResty Is Made Of
  • Who Uses OpenResty
  • Who Maintains OpenResty
  • FAQ

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
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