Learn › Mental Models
Everything is a Queue
The most universal model in systems. Every latency spike you have ever debugged had a queue behind it: CPU run queues, socket backlogs, disk queues, lock wait lists. Learn the real math (wait time, Little's Law, the 80 percent knee), then read live queues on real machines.
Labs in this module
- Everything is a Queue - The most universal model in systems: every latency spike has a queue behind it. The real M/M/1 math on an interactive chart, the 80 percent
- Lab: Read the Run Queue - Hands-on instantiation of the queue model on a real machine: measure capacity with nproc, flood the CPU with 8 hogs, watch the 1-minute load
- Lab: Read the Accept Queue - The queue model in its second subsystem: find a socket's accept queue with ss, fill it to its backlog, watch the kernel silently ignore the