Interview Prep/Linux/Disk, Capacity & Backups

How do you plan swap, memory and CPU capacity for a new service?

IntermediateProductionDisk, Capacity & Backups
Answer

Load-test the service to find per-request CPU and memory cost and the saturation point, then size for peak traffic plus headroom (often target ~60–70% at peak), add N+1 capacity so losing one node or AZ still handles peak, and validate with production metrics after launch. Revisit after major releases. Right-size downward too; overprovisioning is a cost problem.

All Linux questions Roadmap: Linux

More on Disk, Capacity & Backups