Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

nginx C module performance and reliability v1.0.0

Use this resource to optimise throughput, latency and reliability of an nginx C module

New

  • 380 downloads
  • 195 likes
  • 162 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install nginx-module-performance

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent optimises an nginx C module against 43 rules: zero-copy buffers and I/O, connection handling, atomic locks, timeout and retry strategy and response caching. It notes the gain and the risk of each change. You get a faster module that copes better with failures.

Mostly picked by

Updated November 2, 2026

Card for the “nginx C module performance and reliability” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/: cards on buffers, file sending and avoiding copies
  • references/: cards on caching, shared-memory locks and error handling

Good fit for

  • Your module copies every response before sending it
  • A shared-memory cache stalls under load

Not for

    Tags

    • nginx
    • performance
    • c
    • cache
    • buffers

    About

    You say

    “My nginx module copies every response in memory. Show me how to switch to zero-copy buffers.”

    Card for the “nginx C module performance and reliability” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to optimise throughput, latency and reliability of an nginx C module
    3. Review and adjust the result

    Content preview

    Files

    • assets/templates/_template.md0.7 KB
    • LICENSE1.1 KB
    • metadata.json1.2 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md1.9 KB
    • references/buf-avoid-copy.md2.4 KB
    • references/buf-chain-reuse.md2.2 KB
    • references/buf-coalesce-small.md2.8 KB
    • references/buf-file-sendfile.md3 KB
    • references/buf-recycled-flag.md2.6 KB
    • references/buf-shadow-reference.md2.4 KB
    • references/cache-conditional-store.md3.7 KB
    • references/cache-key-hash.md3.4 KB
    • references/cache-shm-lru.md3.6 KB
    • references/cache-stampede-lock.md3.6 KB
    • references/cache-ttl-atomic.md2.8 KB
    • references/conn-close-linger.md3 KB
    • references/conn-drain-pressure.md3.5 KB
    • references/conn-prealloc-pool.md3.7 KB
    • references/conn-reusable-queue.md2.9 KB
    • references/conn-ssl-session-reuse.md3.6 KB
    • references/conn-tcp-nodelay.md2.6 KB
    • references/err-blocked-counter.md2.9 KB
    • references/err-cache-errno.md2.2 KB
    • references/err-connection-error-check.md2 KB
    • references/err-fallback-response.md2.5 KB
    • references/err-log-once-pattern.md2.5 KB
    • references/err-resource-exhaustion.md2.3 KB
    • references/lock-alloc-outside.md3.4 KB
    • references/lock-atomic-counters.md2.1 KB
    • references/lock-minimize-critical.md3.3 KB
    • references/lock-per-worker-aggregate.md2.6 KB
    • references/lock-rw-pattern.md3.4 KB
    • references/lock-trylock-fallback.md2.8 KB
    • references/log-action-string.md3.1 KB
    • references/log-connection-context.md3.1 KB
    • references/log-error-dedup.md3 KB
    • references/log-level-guard.md2.4 KB
    • references/log-shared-metrics.md2.7 KB
    • references/timeout-backoff-reconnect.md3.2 KB
    • references/timeout-client-body-limit.md3.5 KB
    • references/timeout-retry-next-upstream.md3.4 KB
    • references/timeout-upstream-phases.md3.5 KB
    • references/worker-accept-mutex.md3.1 KB
    • references/worker-connection-prealloc.md3.5 KB
    • references/worker-cycle-conf.md3 KB
    • references/worker-graceful-shutdown.md3.3 KB
    • references/worker-single-process-debug.md3.3 KB
    • SKILL.md8 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/nginx-c-module-perf
    Licence
    MIT

    Notice

    « nginx-c-module-perf » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.