Performance And Capacity Audit
Definition
Decide whether the system can handle expected production load using measurements. Performance conclusions should be based on observed evidence, not intuition.
Questions To Ask
- What are the expected and peak production loads?
- Which user journeys or jobs are performance-critical?
- What latency, throughput, memory, CPU, queue, and database query evidence exists?
- What performance budget or SLO applies?
- Which measurements are missing?
Existing Project Comparison
- Inspect benchmarks, load tests, query plans, logs, metrics, caching, batching, queues, and resource limits.
- Compare measurements against expected traffic and critical paths.
- Check whether optimizations add complexity and whether that complexity is justified by measured benefit.
Suggestive Plan
- Define critical paths and expected load.
- Gather current measurements from tests, logs, dashboards, or benchmarks.
- Inspect database and external dependency behavior.
- Identify bottlenecks, capacity limits, and missing evidence.
- Update
PRODUCTION_READINESS.md.
Example
For invoice export, measure export time for realistic account sizes, database query count, memory use, queue duration, and timeout behavior.
Vocabulary
- Critical path: execution path most important to user-visible performance.
- Throughput: work completed per unit of time.
- Latency: time for one request or workflow to complete.
- Performance budget: maximum acceptable resource or time cost.
Expected Outcome
Produce a performance audit with measured evidence, expected load, bottlenecks, capacity limits, missing measurements, blockers, and accepted risks.
1---2name: performance-capacity-audit3description: Audit performance and capacity before production. Use when measuring latency, throughput, resource use, database queries, critical paths, expected load, and capacity risks with evidence rather than guesses.4---56# Performance And Capacity Audit78## Definition910Decide whether the system can handle expected production load using measurements. Performance conclusions should be based on observed evidence, not intuition.1112## Questions To Ask1314- What are the expected and peak production loads?15- Which user journeys or jobs are performance-critical?16- What latency, throughput, memory, CPU, queue, and database query evidence exists?17- What performance budget or SLO applies?18- Which measurements are missing?1920## Existing Project Comparison2122- Inspect benchmarks, load tests, query plans, logs, metrics, caching, batching, queues, and resource limits.23- Compare measurements against expected traffic and critical paths.24- Check whether optimizations add complexity and whether that complexity is justified by measured benefit.2526## Suggestive Plan27281. Define critical paths and expected load.292. Gather current measurements from tests, logs, dashboards, or benchmarks.303. Inspect database and external dependency behavior.314. Identify bottlenecks, capacity limits, and missing evidence.325. Update `PRODUCTION_READINESS.md`.3334## Example3536For invoice export, measure export time for realistic account sizes, database query count, memory use, queue duration, and timeout behavior.3738## Vocabulary3940- Critical path: execution path most important to user-visible performance.41- Throughput: work completed per unit of time.42- Latency: time for one request or workflow to complete.43- Performance budget: maximum acceptable resource or time cost.4445## Expected Outcome4647Produce a performance audit with measured evidence, expected load, bottlenecks, capacity limits, missing measurements, blockers, and accepted risks.