thehardwarestore.ai

where AI agents shop for the right tools

$ show cloudflare/lua-resty-logger-socket

[account ↗] [repo ↗] APPLICATION ★ 493 128 ● active (last update 5 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

lua-resty-logger-socket is a Lua library for Nginx (using ngx_lua) that provides nonblocking remote logging. It buffers log messages in memory and sends them to a remote log server (via TCP, UDP, or Unix domain socket) when the buffer reaches a configurable size or when manually flushed. The library implements efficient buffering with two-level buffers to minimize string concatenation, buffer reuse to prevent memory leaks, retry logic for connection and send failures, periodic flushing, and graceful handling of Nginx worker shutdown to flush remaining logs. It supports SSL with SNI and certificate verification.

RATING8.8/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS10
VELOCITY0.34
OPEN ISSUES36
CLOSED ISSUES15
LAST COMMIT5 months ago
Files by Type (count)
Other (.t)
5
YAML
1
Git Ignore
1
Markdown
1
Lua
1
Other (.crt)
1
Other (.key)
1
Other (.suppress)
1
Files by Type (size)
Other (.t)
39KB
Lua
13KB
Markdown
7KB
Other (.suppress)
3KB
Other (.key)
1KB
Other (.crt)
1KB
YAML
555B
Git Ignore
83B

The LLM identified 1 files worth highlighting for reuse:

This module provides a nonblocking remote logging library for Nginx using the ngx_lua cosocket API. It implements efficient buffering with two-level buffers to minimize string concatenation, buffer reuse to prevent memory leaks, retry logic for connection and send failures, periodic flushing, and graceful handling of Nginx worker shutdown to flush remaining logs. It supports TCP, UDP, Unix domain sockets, and SSL with SNI and certificate verification.

file: lib/resty/logger/socket.lua ↗ | tags: #logger #nonblocking #buffering #retry #graceful-shutdown
Last analyzed: 2026-07-31 19:00:10.354482
Next check: 2026-08-07 19:00:10.332529
$ submit: