Skip to content

Deep dives

These guides provide the technical reasoning and measurements behind the design of NResilience. While you do not need to read these to use the library, they offer insight into why the system is built this way.

TopicKey question answered
One flat executorWhy does the library use a flat execution loop instead of a strategy pipeline?
Where the allocations areWhat is the cost of a call, and how is that cost minimized?
The cancellation contractHow is cancellation handled, and which token governs each part of the call?
Breaker internalsWhy use consecutive failures, a specific probe count, and growing break durations?
Retry budget internalsWhy limit retries as a fraction of total traffic, and why maintain the budget per process?
Guarded rejectionWhy does the handler introduce a delay when refusing a call?
Admission controlWhy is a limiter refusal not a new verdict kind, and why is the retry budget exempt from it?
Logging internalsWhy are log levels proportional to volume, and what do the records deliberately omit?

Released under the MIT License.