How it works
Most meshes place a small proxy, often Envoy, next to every service instance (the sidecar pattern), and all traffic flows through these proxies. A control plane configures them centrally. Newer designs, such as Istio's ambient mode and Cilium's eBPF-based approach, reduce or remove per-pod sidecars to cut overhead.
What it gives you
- Mutual TLS between services by default, with automatically rotated certificates.
- Traffic policies: send 5% of requests to a new version, retry idempotent calls, apply timeouts and circuit breakers.
- Uniform telemetry: request rates, errors and latency for every service-to-service call, plus tracing headers.
- Access rules: which service may call which.
Who actually needs one
Meshes shine in Kubernetes environments with dozens of services and several teams. For a handful of services, they add significant complexity: more components to upgrade, harder debugging when the proxy itself misbehaves, and extra memory and latency. Many of the same benefits for small systems can be had with a good HTTP client library, an API gateway and an observability tool. Popular meshes include Istio, Linkerd, Consul and Cilium.
Questions, answered
No. A gateway handles traffic entering the system; a mesh handles traffic between services inside it.
Most are built for Kubernetes, though some, such as Consul, also support virtual machines.