Photo by Gautam Ganguly

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 »

Photo by Yichun Zhang

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 »

Photo by Markus Spiske & Yichun Zhang

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 »

Photo by Gerry Roarty

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 »

Photo by 2Photo Pots

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 »

Photo by Guido Jansen

Introduction to Lua-Land CPU Flame Graphs

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

Photo by Elena Mozhvilo

Memory Fragmentation in OpenResty and Nginx's Shared Memory Zones

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

Photo by Jose G. Ortega Castro

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 »

Photo by

The Wonderland of Dynamic Tracing (Part 4 of 7)

Flame Graphs A Word on OpenResty XRay Read More »

Photo by

The Wonderland of Dynamic Tracing (Part 3 of 7)

Applications of SystemTap in Production A Word on OpenResty XRay Read More »