Skip to content
Star17Hire me
01 / StartXP 0%
Sep 13, 2026 · 1 min · by Ahmed Mamdouh

Watch queue depth trend, not the current number

#monitoring#queues#system-design

The one piece of monitoring I added after an incident, and now put in every service on day one, is queue depth over time. I care about the trend far more than the current number.

A large queue that drains fast is fine. A smaller one that has grown steadily for an hour is a problem: consumers are falling behind producers, and that won't fix itself.

The slope tells you whether you have twenty minutes or two. Divide the remaining headroom by the growth rate and you get a rough time until it hurts, which is what decides whether you page someone, scale consumers, or keep watching.

Building something like this?

I'm Ahmed Mamdouh, a senior full-stack & AI engineer. I reply within one working day.

More posts