capacity-planning
5 posts — newest first.
-
128 KiB Per Token: The GPU Memory Math for Serving an 8B Model
Llama 3.1 8B's weights fit in 16 GB. One 128K-token request needs another 17. The KV cache formula, worked for four models, from config.json alone.
-
Your Database Has 8 Cores. Why Does It Have 800 Connections?
Pool size times pod count is a number nobody owns until the database refuses connections. Little's law sizes the pool; a simulation shows why bigger is slower.
-
The Generators Were Fine. The Sensor Was on the Wrong Side of the Breaker.
Google's final report on the europe-west2 zone outage: a check that measured the wrong thing, redundancy lost to maintenance, and why multi-zone still degraded.
-
Your top AI failure mode is saturation, and the SLI is in a header you throw away
Datadog found ~5% of production AI requests fail, nearly 60% on capacity limits. Provider saturation is an SRE problem you already have the primitives for.
-
Queueing Theory for SREs: Little's Law and the Utilisation Knee
Latency doesn't rise with load, it rises with 1/(1−utilisation). Two formulas explain the p99 cliff and size every pool in your system.