A service can have a fast CPU, spare memory, and an uncongested network while still accepting connections too slowly or underusing a high-bandwidth path. Another service can appear healthy during ordinary traffic, then spend minutes waiting for a failed peer.
Linux exposes controls for these behaviors through system settings, socket options, and application-level listener configuration. These controls are useful, but they are not independent performance switches. A larger receive buffer cannot help an application that reads slowly. A deeper listen queue can absorb a burst, but it cannot repair an accept loop that remains overloaded. A shorter timeout can release resources sooner while turning transient packet loss into failed requests.
Production tuning therefore begins with a measured symptom. Each change should target one constraint, use the narrowest available scope, and have a rollback condition.
This chapter uses Linux names because Linux is common on backend servers. Other operating systems provide similar controls with different names and behavior. Defaults also vary by kernel version, distribution, memory size, and container environment, so the running host is the source of truth.