Performance & eBPF
Little law: failure analysis
Explains Little's law, which relates the number in a system to its arrival rate and time in system, and how to use it to locate a slowdown.
What you will be able to do
- Apply Little's law to check a measured in-flight count.
- Use the law to size a pool and locate a slowdown.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Performance & eBPF
- Load testing models: failure analysisAdvanced · 4 min
Explains how closed and open workload models differ in what happens to arrivals when the system slows, and which model fits public traffic. Shows how to write an…
- Queueing theory: operational verificationAdvanced · 4 min
Explains how utilization drives waiting time in a queue, and why waiting grows sharply near full use even before the CPU is at 100 percent.
- CPU saturation: operational verificationAdvanced · 4 min
Explains how pressure stall information separates CPU saturation from high utilization and load average inflated by I/O wait. Shows how to read PSI for a host or a…
- CPU flamegraphs: failure analysisAdvanced · 4 min
Explains how CPU flame graphs turn sampled stacks into a picture of where CPU time goes, and what they cannot show about blocked time. Shows how to check a graph…
- Off CPU profiling: operational verificationAdvanced · 4 min
Explains off-CPU time, the time threads spend blocked or waiting, which CPU profiles miss. Shows how scheduler statistics and switch traces expose it, and how to split…
- Heap profiling: failure analysisAdvanced · 4 min
Explains heap profile views, in-use and allocation, and how to tell a real leak from heavy allocation that the collector frees. Shows how to compare two profiles taken…