Share Data Across Requests Served by OpenResty

This tutorial will demonstrate how to share data across different HTTP requests served by an OpenResty application. 12345... Read More »

Install OpenResty on CentOS 8 via dnf

This tutorial will demonstrate how to install OpenResty on CentOS 8 via dnf. We’ll use this fresh install of CentOS 8 in... Read More »

The resty Command-Line Utility Demo

In this tutroial, we will demonstrate how to use the resty command-line utility shipped with OpenResty. 123cd ~export PAT... Read More »

Write Your Own Lua Modules for OpenResty Applications

Today I’d demonstrate how to write your own Lua modules in your OpenResty applications, step by step. Let’s put our simp... Read More »

Hello World HTTP Example in OpenResty

This tutorial demonstrates how to implement a “hello world” HTTP interface using OpenResty. First of all, we make sure w... Read More »

OpenResty 1.19.3.1 released

We are happy to announce the new formal release, 1.19.3.1, of our OpenResty web platform based on NGINX and LuaJIT. The fu... Read More »

Introduction to Lua-Land CPU Flame Graphs

What is a Flame Graph Simple Lua samples Complicated Lua applications... Read More »

Memory Fragmentation in OpenResty and Nginx's Shared Memory Zones

An empty zone Filling entries of similar sizes Deleting odd-numbered keys... Read More »

How OpenResty and Nginx Shared Memory Zones Consume RAM

Slabs and pages What is allocated is not what is paid for Fake Memory Leaks... Read More »