Service mesh trade-offs
A service mesh adds a traffic-management layer for service-to-service communication. The control plane distributes policy and discovery information; the dataplane handles application traffic. A bookstore catalog calls inventory through the dataplane. A mesh can make transport identity, metrics and routing more consistent, but it does not replace the CNI, Kubernetes Services, application authentication or database transaction logic. Small systems may be easier to operate without one. Istio sidecar mode places a proxy with each enrolled workload. Ambient mode instead uses node-level ztunnel for secure transport and layer-4 controls, with waypoint proxies for applicable layer-7 processing. Linkerd uses workload-side lightweight proxies and a control plane. Compare protocol support, enrollment boundaries, CPU and memory overhead, upgrade impact, failure blast radius and policy features. A node-level transport layer is not automatically an HTTP-aware proxy. Gateway API mesh integration (GAMMA) can express routes attached to Services on supported implementations; verify conformance and feature support rather than assuming every Gateway API controller supports mesh routing.
Formal Syntax & Structure
mTLS: valid catalog identity -> authenticatedPolicy: catalog may call inventory -> authorized for service operationApplication: user may read this record -> separate decisionWorking Example
3 * 3 = 9 maximum downstream attempts3 * 150 + 2 * 50 = 550 ms (illustrative)