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.
More on Disk, Capacity & Backups
How do you lay out filesystems on a production server?IntermediateHow do you do capacity planning for disk?IntermediateWhat disk usage alert thresholds do you use?BeginnerA disk is 100% full in production. What do you do first?BeginnerHow do you clean up disk space safely on Docker hosts?IntermediateWhat is the 3-2-1 backup rule?Beginner