pproenca avatar

Nginx C Module Perf

This is the performance counterpart to the nginx-c-modules correctness skill, focused entirely on making your C modules fast and resilient under load. You get 43 rules across buffer management, connection pooling, lock contention, error recovery, and caching strategies, all pulled from nginx.org's development guide and production experience. The priorities are sensible: zero-copy I/O and connection efficiency are marked critical, lock contention and error handling are high, and logging comes last. Use this when you're profiling a slow module, debugging worker stalls from shared memory locks, or implementing an in-module cache. The distinction between correctness and performance skills is helpful since optimization work has a different mindset than getting the request lifecycle right.

skills.sh installs
260
GitHub stars
222
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Backend & APIs, DevOps & CI/CD, Documentation, Debugging
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1thedivergentai avatargodot-3d-materialsthedivergentai/gd-agentic-skillsExpert patterns for Godot 3D PBR materials using StandardMaterial3D including albedo, metallic/roughness workflows, normal maps, ORM texture packing, transparen260skills.sh installs
2cinience avataralicloud-ai-contactcenter-aicinience/alicloud-skillsManage Alibaba Cloud Contact Center AI (ContactCenterAI) via OpenAPI/SDK. Use whenever the task involves Contact Center AI resource lifecycle operations, config259skills.sh installs
3cinience avataralicloud-data-lake-dlfcinience/alicloud-skillsManage Alibaba Cloud Data Lake Formation (DataLake) via OpenAPI/SDK. Use whenever the user asks for DataLake catalog resource operations, configuration updates,259skills.sh installs
4letta-ai avatarextracting-pdf-textletta-ai/skillsExtract text from PDFs for LLM consumption. Use when processing PDFs for RAG, document analysis, or text extraction. Supports API services (Mistral OCR) and loc257skills.sh installs
5pproenca avatareffect-tspproenca/dot-skillsEffect-TS library usage in TypeScript — Effect.gen generators, Schema.Struct/Schema.Class definitions, Layer/Context.Tag/Service patterns, Effect.pipe pipelines257skills.sh installs
6tjefferson avatarstock-price-querytjefferson/stock-price-query实时股票行情查询,支持 A 股、港股、美股及大盘指数,支持批量查询。无需 API Key。Real-time stock & index quotes for A-shares, HK & US markets. Batch supported.257skills.sh installs