Skip to content
pproenca avatar

Nginx C Module Perf

Performance and reliability rules for nginx C modules across buffers, connections, locks, caching, and timeouts.

CCM score
46 of 100
skills.sh installs
271
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 43 rules in 8 categories, ordered by impact: buffers, connections, locks, error recovery, timeouts, caching, workers, and logging
  • Includes reference files for each rule, with explanations and code examples for zero-copy I/O, shared memory contention, and single-flight cache patterns
  • Enforces practices such as caching errno immediately, limiting repeated error logs, and using lingering close for graceful shutdown
  • Designed for developers tuning nginx C modules for throughput, latency, memory efficiency, and operational resilience; complements the nginx-c-modules correctness skill

Install

$ npx -y skills add pproenca/dot-skills --skill nginx-c-module-perf -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

nginx.org C Module Performance & Reliability Best Practices

Comprehensive performance optimization and reliability guide for nginx C modules, derived from the official nginx development documentation and production engineering experience. Contains 43 rules across 8 categories, prioritized by impact to guide automated optimization and resilience improvements.

Companion skill: This skill complements nginx-c-modules which covers correctness (memory safety, request lifecycle, configuration). This skill covers performance optimization and operational reliability.

When to Apply

Reference these guidelines when:

  • Optimizing nginx C module throughput and latency
  • Reducing buffer copies and enabling zero-copy I/O paths
  • Tuning connection pooling and socket options
  • Minimizing shared memory lock contention across workers
  • Implementing graceful error recovery and fallback responses
  • Configuring upstream timeouts and retry strategies
  • Building in-module response caches with shared memory
  • Tuning worker process behavior under load

Rule Categories by Priority

Details

Repository
github.com/pproenca/dot-skills
Categories
Backend & APIs, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the nginx-c-module-perf skill do?

nginx-c-module-perf gives performance optimization and reliability guidelines for nginx C modules, based on the official nginx development guide. It covers buffer optimization, connection tuning, shared memory contention, error recovery, timeout strategy, caching, worker tuning and logging performance.

How do I install the nginx-c-module-perf skill?

Run npx -y skills add pproenca/dot-skills --skill nginx-c-module-perf -y in your project to install it. Once installed, nginx-c-module-perf lets the agent apply its 43 rules across eight categories when you work on nginx C module performance.

Who is the nginx-c-module-perf skill for?

nginx-c-module-perf is for developers who write or tune nginx C modules and want better throughput, latency, memory efficiency and operational resilience. It is a companion to nginx-c-modules, which covers correctness, memory safety and request lifecycle.

Where does nginx-c-module-perf stand in the Backend and APIs category?

nginx-c-module-perf is listed in the Backend and APIs category, alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. Its focus is narrow: performance and reliability work inside nginx C modules rather than general API design.

More from pproenca/dot-skills

All 100

Similar to Nginx C Module Perf

More Backend & APIs