What is Service Mesh?
Turkish: Service Mesh
A service mesh manages traffic between microservices through a proxy layer, adding mTLS, observability, routing, and policy controls.
What is a Service Mesh?
A service mesh moves service-to-service communication concerns out of application code and into a dedicated networking layer. Services still communicate through HTTP, gRPC, or similar protocols, but traffic usually passes through sidecar proxies or node-level proxies.
That proxy layer centralizes network behavior that is hard to repeat consistently in every service: encrypted service communication, retries, timeouts, load balancing, canary routing, rate limits, and detailed traffic metrics.
How Does It Work?
- Data plane: Proxies close to the services carry the actual traffic.
- Control plane: Distributes proxy rules, certificates, and traffic policies.
- mTLS: Provides service-to-service authentication and encryption.
- Traffic policy: Enables canary releases, A/B routing, and circuit breaking.
- Telemetry: Tracks request duration, error rate, and service dependencies.
Business Use
A service mesh becomes relevant when a system has many microservices and teams deploy them independently. For example, it can help observe traffic between payment, inventory, shipping, and notification services while supporting gradual rollout of new versions.
For small systems, the same layer can add unnecessary complexity. In Kubernetes, tools such as Istio or Linkerd are powerful, but certificate management, resource overhead, debugging, and team experience must be considered before adoption.
Related Terms
Kubernetes orchestrates containerized services across server clusters, handling deployment, scaling, updates, and recovery.
MicroserviceMicroservice architecture designs a large application as small services that can be developed, deployed, and scaled independently.
Mutual TLS (mTLS)Mutual TLS verifies both client and server certificates during a TLS connection, reducing trust in network location alone.