OpenResty (NGINX + Lua)
September 12, 2022
Subprojects Behind OpenResty
This post introduces OpenResty's directory structure and related tools, such as NGINX C Modules, test-nginx, lua-resty projects, and more.
OpenResty (NGINX + Lua)
September 17, 2022
Knowledge of NGINX Used in OpenResty
Nginx provides the Master-Worker model and request execution phases. By reading this post, you can better grasp the basics of Nginx.
OpenResty (NGINX + Lua)
September 23, 2022
Getting Started With Lua
Lua is a lightweight and high-level programming language designed primarily for embedded use in applications. Getting started with Lua from here!
OpenResty (NGINX + Lua)
September 30, 2022
Why Does lua-resty-core Perform Better?
The lua-resty-core is a new FFI-based API for lua-nginx-module, which provides higher performance. Learn more from this post.
OpenResty (NGINX + Lua)
October 11, 2022
What is table and metatable in Lua?
Explore Lua's unique data structure, the table, and its metatable functionalities, guiding you through efficient usage and best practices.
OpenResty (NGINX + Lua)
October 14, 2022
What makes OpenResty so special
OpenResty is built with NGINX and LuaJIT, getting started from here to learn its basic concepts and how it works.
OpenResty (NGINX + Lua)
October 23, 2022
OpenResty Is The Enhanced NGINX With Dynamic Requests and Responses
OpenResty is the enhanced NGINX with dynamic requests and responses, and this article explains the APIs for manipulating Request and Response in OpenResty, such as "ngx.req.set_method", "ngx.req.set_uri_args", "ngx.req.set_header", etc.
OpenResty (NGINX + Lua)
October 28, 2022
The core of OpenResty: cosocket
The cosocket is the basis of various lua-resty-* non-blocking libraries. This article introduces the basic concepts and common APIs of cosocket.
OpenResty (NGINX + Lua)
November 4, 2022
Introduction of Common APIs in OpenResty
This article will introduce you to the use of OpenResty common APIs for time manipulation, regular expressions, and other common issues.
OpenResty (NGINX + Lua)
November 25, 2022
Accurate Performance Testing with wrk
This article describes the features of the performance testing tool `wrk` and how to use it for efficient and accurate performance testing
OpenResty (NGINX + Lua)
December 8, 2022
Advantages and Disadvantages of string in OpenResty
This article introduces the optimization techniques to be followed in OpenResty: processing requests short, simple, and fast and avoiding intermediate data generation. It also shows the optimization techniques for string
OpenResty (NGINX + Lua)
December 15, 2022
OpenResty Coding Style Guide
OpenResty style guide contains general rules about "how to write" OpenResty, Lua, NGINX code
OpenResty (NGINX + Lua)
December 16, 2022
Various Debugging Methods in OpenResty
This article describes how to debug in OpenResty using breakpoints and print logs, Binary Search Algorithm and Comment, dynamic debugging, flame graph, etc.
OpenResty (NGINX + Lua)
December 29, 2022
How to Avoid Cache Stampede?
We can use active update cache, lua-resty-lock, lua-resty-shcache, and NGINX directives to resolve cache stampedes in NGINX, OpenResty.
OpenResty (NGINX + Lua)
January 6, 2023
Dynamic Rate-Limiting in OpenResty
Let's learn how to use the implementation of `limit-req`, `limit-count`, `limit-conn`, and `limit.traffic` in `lua-resty-limit-traffic` and conduct rate limiting with them.
OpenResty (NGINX + Lua)
January 12, 2023
OpenResty's Killer Feature: Dynamic
Openresty enables FaaS, Edge Computing, Dynamic Upstream, and more with the dynamic features provided by LuaJIT











































