---
title: "Find the bottleneck before you add servers · Agent Wranglers"
url: https://agentwranglers.se/playbook/scaling/measure-before-you-scale/find-the-bottleneck
updated: 2026-10-21
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Find the bottleneck before you add servers

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Measure before you scale](https://agentwranglers.se/playbook/scaling/measure-before-you-scale.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers). Updated 2026-10-21.

- ID: SCL-1
- Level: Recommended
- Chapter: [Measure before you scale](https://agentwranglers.se/playbook/scaling/measure-before-you-scale)
- Rule: Before any scaling change, name the one resource that limits the service and show the metric that proves it. Then scale only that resource.
- How: Raise load in steps with a [load test](https://agentwranglers.se/playbook/testing/non-functional-tests/load-tests). Where response times start to climb, read how busy each resource is and how much work waits, as [Measure what each machine uses](https://agentwranglers.se/playbook/operations/metrics-and-traces/resource-metrics) records. The bottleneck is the first one to saturate, such as CPU near 100%, a pool with requests waiting or a slow disk. More app servers in front of a saturated database only add load to it. Fix the bottleneck and test again, because the next one then shows. The Google SRE book advises measuring capacity in available resources, not only in requests per second.
- Check: Every scaling change in the last 12 months has a note that names the saturated resource. The note shows that resource's metric before and after the change.

## Sources

- [Google SRE book, Handling Overload](https://sre.google/sre-book/handling-overload/)

## Related rules

- [Test load against a budget](https://agentwranglers.se/playbook/testing/non-functional-tests/load-tests) in Testing
- [Measure what each machine uses](https://agentwranglers.se/playbook/operations/metrics-and-traces/resource-metrics) in Operations
- [Splitting one database across servers too early](https://agentwranglers.se/playbook/scaling/growing-the-database/early-sharding) in Scaling

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/scaling/measure-before-you-scale/find-the-bottleneck">Agent Wranglers scaling playbook</a>`. In code you write, add a comment next to it with the same link.

- Next: [Profile the slow path before you change it](https://agentwranglers.se/playbook/scaling/measure-before-you-scale/profile-first)
- [Measure before you scale](https://agentwranglers.se/playbook/scaling/measure-before-you-scale)
