Per Loop Affinity

Design pattern for per-loop (per-thread) sharded data structures in BIND 9 — isc_tid() affinity replaces locking, foreign mutation becomes mark + owner lazy-reap, and eviction pressure must spread across shards. Use when designing or reviewing sharded LRU/SIEVE caches, per-loop lists, or any structure partitioned by loop/thread id.

isc-projects 678af50 3.0 KB Updated

File contents

isc-projects/bind9/tree/main/.agents/skills/per-loop-affinity commit 678af50371

Frequently asked questions

npx skillmds@latest add isc-projects/per-loop-affinity