latency
Understanding latency
Math
Lognormal distribution
Why network latency follows a lognormal distribution, and how slowdep uses Box-Muller sampling to simulate it from just p50 and p99.
Concept
Tail latency
Why the 99th percentile matters more than the average, and how slow outliers amplify across fan-out calls.
Reference
p99 latency
What p99 means, how to find it in your APM tools, and how to use it to configure a slowdep profile.
resilience
Resilience patterns
Pattern
Retries and exponential backoff
When to retry, why naive retries cause thundering herd problems, and how to implement full-jitter backoff correctly.
Pattern
Circuit breakers
How circuit breakers prevent cascading failures, the three states (closed, open, half-open), and how to test them with slowdep.