Loading...
Loading...
nginx C module performance optimization and reliability guidelines based on the official nginx development guide. This skill should be used when optimizing nginx C modules for throughput, latency, memory efficiency, and operational resilience. Triggers on tasks involving buffer optimization, connection tuning, shared memory contention, error recovery, timeout strategy, caching implementation, worker process tuning, or logging performance in nginx C modules.
npx skill4agent add pproenca/dot-skills nginx-c-module-perf| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Buffer & Zero-Copy I/O | CRITICAL | |
| 2 | Connection Efficiency | CRITICAL | |
| 3 | Lock Contention & Atomics | HIGH | |
| 4 | Error Recovery & Resilience | HIGH | |
| 5 | Timeout & Retry Strategy | MEDIUM-HIGH | |
| 6 | Response Caching | MEDIUM | |
| 7 | Worker & Process Tuning | MEDIUM | |
| 8 | Logging & Metrics | LOW-MEDIUM | |
buf-chain-reusebuf-file-sendfilebuf-avoid-copybuf-coalesce-smallbuf-shadow-referencebuf-recycled-flagconn-reusable-queueconn-drain-pressureconn-tcp-nodelayconn-prealloc-poolconn-close-lingerconn-ssl-session-reuselock-minimize-criticallock-atomic-counterslock-trylock-fallbacklock-per-worker-aggregatelock-alloc-outsidelock-rw-patternerr-cache-errnoerr-fallback-responseerr-resource-exhaustionerr-blocked-countererr-connection-error-checkerr-log-once-patterntimeout-upstream-phasestimeout-retry-next-upstreamtimeout-backoff-reconnecttimeout-client-body-limitcache-shm-lrucache-stampede-lockcache-key-hashcache-ttl-atomiccache-conditional-storeworker-accept-mutexworker-connection-preallocworker-graceful-shutdownworker-single-process-debugworker-cycle-conflog-level-guardlog-connection-contextlog-shared-metricslog-error-deduplog-action-string| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |