Lua Blocking Operations Halt Entire Worker Process
9/10 CriticalLua code embedded in NGINX must be strictly non-blocking to maintain event-driven performance. Using standard Lua libraries or C libraries that perform blocking I/O (e.g., standard `os.time()` or slow file I/O) halts the entire NGINX worker, causing massive performance degradation, high latency, and request timeouts for all concurrent requests.
Collection History
Lua code must be strictly non-blocking to maintain NGINX's event-driven performance. Blocking operations (e.g., standard Lua I/O or OS calls) halt the entire worker, causing high latency and request timeouts. Using standard Lua libraries or C libraries that perform blocking I/O...will block the entire NGINX worker process, resulting in massive performance degradation, high latency, and request timeouts for all concurrent requests.