A service mesh moves communication concerns out of application code and into infrastructure. A small proxy runs beside each service, and a control plane configures them all, so that features such as encryption between services, retries, timeouts, traffic splitting and detailed telemetry become uniform and are set by policy instead of being coded repeatedly. Istio is the best-known implementation. The attraction is considerable, and so are the hazards that come with putting a new layer in every request path. A note on terminology is useful at the outset. An error budget is a concept from site reliability engineering, the amount of unreliability a service may have within its objective. Istio does not implement error budgets, though the metrics it emits are what teams use to calculate them.
What is an error budget and how does a mesh relate to it?
A service level objective states a target, such as a given share of requests succeeding within a given time over a period. The error budget is the permitted shortfall. While budget remains, a team can release changes and take risks, and when it is exhausted, attention shifts to reliability. The mesh helps because it records success rates and latency for every call between services without code changes, giving a consistent basis for the calculation. It also supplies mechanisms that spend or protect the budget. Retries can mask transient failures, and circuit breaking and outlier detection can remove unhealthy instances from rotation. These tools help, and they are also sources of risk when set carelessly.
How do these mechanisms interact with real failures?
The danger of retries is that they add load to a service that is already struggling. If the mesh retries a failed call three times and the calling application retries as well, a single user request can generate many calls to the failing service, which pushes it deeper into trouble. Timeouts that are too generous hold resources while users wait, and ones that are too tight fail requests that would have succeeded. Outlier detection that ejects instances too aggressively can remove healthy capacity during a brief slowdown. Because these behaviours are applied below the application, developers may not know they exist, and an incident can be hard to explain when the observed behaviour comes from policies that nobody on the team wrote.
Overhead, complexity and dependence
Every proxy consumes memory and processor time and adds some latency to each hop, which accumulates across a chain of services and across a large fleet. The control plane becomes a critical dependency, and while running proxies generally continue with their last configuration if it fails, new deployments and certificate rotation may be affected. Configuration is voluminous and subtle, and mistakes in a routing or policy resource can break traffic broadly. Upgrades of the mesh must be coordinated with the many proxies it manages. Newer designs, such as sidecar-less approaches that move functions to per-node proxies, attempt to reduce some of this overhead, with their own trade-offs. Teams should adopt a mesh when they need what it offers, not by default.
Why it matters
A service mesh can bring consistency and visibility to a complex system, and it concentrates power in configuration that is easy to get wrong. Setting retries with budgets and backoff, choosing timeouts deliberately, testing policies under failure, measuring the proxy overhead and understanding the control plane's role let teams use the benefits while avoiding the hidden costs. The mesh does not make a system reliable by itself. It makes the system's reliability policies explicit, and policy still has to be correct.
A service mesh moves reliability policy out of the code. It does not move the responsibility for getting it right.