Tagged articles

openresty

101 articles · Page 2 of 2
Architect
Architect
Nov 28, 2015 · Backend Development

Implementing a Fastest‑First Load‑Balancing Strategy for NGINX with Lua and OpenResty

This article describes how to create a “fastest‑first” load‑balancing algorithm for NGINX using OpenResty and Lua, including the design principles, modifications to lua‑upstream‑nginx‑module, weight‑adjustment logic, Docker build steps, and practical considerations for handling latency‑based server weighting.

Luabackend developmentopenresty
0 likes · 11 min read
Implementing a Fastest‑First Load‑Balancing Strategy for NGINX with Lua and OpenResty