Service mesh explained for network engineers: mTLS, traffic control and observability between microservices
In short: In microservice applications, hundreds of small services call each other over the network. A service mesh adds a layer of proxies that encrypt and authenticate these calls with mutual TLS, control traffic with retries, timeouts and gradual rollouts, and record detailed metrics, without changing application code. It is powerful but adds complexity, so it suits larger platforms.
The problem
A monolithic application calls its own functions in memory. A microservices application splits into many services that call each other over the network, often inside Kubernetes. Each call needs security (is this really the payments service?), reliability (what if it is slow?) and visibility (which call is failing?). Building that into every service, in every programming language, is repetitive and inconsistent. A service mesh moves it into the infrastructure.
How it works
- Data plane: proxies (often Envoy) handle every request between services. Traditionally a sidecar proxy runs next to each service instance; newer ambient or sidecarless designs use shared node-level proxies to reduce overhead.
- Control plane: configures all proxies with policy, certificates and routing rules (for example Istio's istiod).
Popular meshes include Istio, Linkerd, Cilium Service Mesh and cloud-managed meshes.
Security: mutual TLS and identity
The mesh gives each workload a cryptographic identity (often in the SPIFFE format) and automatically encrypts service-to-service traffic with mutual TLS, rotating certificates frequently. Authorisation policies can then say "only the orders service may call the payments service", based on identity rather than IP address. This is zero trust applied inside the application.
Traffic management
- Retries and timeouts so a slow dependency does not hang everything.
- Circuit breaking: stop sending requests to a failing service for a while.
- Canary and blue-green releases: send 5 percent of traffic to a new version, then increase.
- Fault injection for testing resilience.
Observability
Because every request passes a proxy, the mesh records request rates, error rates and latency for every service pair, and supports distributed tracing. Teams can see exactly which call in a chain is slow.
Where it fits with the network
- The mesh works at Layer 7 between services; the network (CNI, fabric, firewalls) still provides Layer 3 connectivity and broad segmentation.
- Network policies and mesh authorisation complement each other: one at IP/port level, one at service identity and HTTP level.
- Encrypted mesh traffic is invisible to traditional network inspection tools; visibility comes from the mesh itself.
Is it worth it?
A mesh adds moving parts, resource use, latency and a learning curve. It is usually worth it for larger platforms with many services, strict security requirements (encryption everywhere) or frequent releases. Small applications with a few services may be better served by network policies and a good ingress controller.
Real-world example: encryption everywhere without code changes
A fintech company had to encrypt all internal traffic for a regulatory audit. Its 80 microservices were written in four languages by different teams. Deploying a service mesh in strict mutual TLS mode encrypted every service-to-service call within a few weeks, with no application changes, and the mesh's policies documented exactly which services could call the payment APIs.
Practice
What problem does a service mesh solve?
What is mutual TLS in a service mesh?
Name two traffic management features of a mesh.
Key takeaways
- A service mesh adds proxies between microservices for security, reliability and visibility.
- Mutual TLS and service identity enable zero trust between services.
- Traffic management supports retries, circuit breaking and gradual releases.
- Meshes add complexity; use them where scale and security justify it.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.