What would you automate for capacity limits at normal and peak traffic, and what would you leave manual?
Answer
Before automating, begin by turning business demand and reliability expectations into a representative workload and measurable hypothesis. Focus on capacity limits at normal and peak traffic. Use service-level objectives, resource telemetry and correctness under load as the oracle. Cover steady, spike, stress, soak, degradation and recovery behavior. Keep data and dependencies controlled enough to reproduce failures. Release only when thresholds are met without hidden errors, data loss or unsafe retry amplification.
Strong answer includes
- explicit risk and test oracle for capacity limits
- models realistic workload
- correlates latency with resources and correctness
- measurable evidence and residual-risk statement
Practical example
The team automated a scheduled load test that ramps traffic to the documented peak capacity limit and fails the build if error rates rise before that point is reached, catching a capacity regression from an unrelated dependency change. Raising the officially documented capacity number itself, however, was kept as a manual decision requiring sign-off from the on-call lead.