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 Updated

File contents

isc-projects/bind9 commit 678af50371

Frequently asked questions

npx get-skill add isc-projects/per-loop-affinity