Concepts

Service Mesh

Infrastructure layer dedicated to managing communication between microservices, providing observability, security, and traffic control transparently.

seed#service-mesh#istio#envoy#networking#microservices#observability

What it is

A service mesh is an infrastructure layer that manages communication between microservices transparently. Each service has a sidecar proxy that intercepts all network traffic, providing observability, security, and control without modifying application code.

Capabilities

CapabilityWhat it solvesWithout meshWith mesh
ObservabilityTraffic visibilityInstrument each service manuallyAutomatic metrics, traces, and logs
SecurityEncryption between servicesConfigure TLS in each serviceAutomatic mTLS, certificate rotation
Traffic controlSafe deploymentsAll or nothingCanary, traffic splitting, circuit breakers
PoliciesGovernanceImplement in each serviceCentralized rate limiting and access control

Implementations

Service MeshProxyCharacteristics
IstioEnvoyMost complete, complex
Linkerdlinkerd2-proxyLightweight, simple
AWS App MeshEnvoyNative AWS integration
Consul ConnectEnvoyMulti-platform

When do you need a service mesh?

  • Many microservices (>10) communicating with each other
  • You need mTLS between services
  • You require detailed traffic observability
  • Canary deployments or traffic splitting

Why it matters

A service mesh manages communication between microservices transparently: mTLS, circuit breaking, observability, and traffic management without modifying application code. It is the network layer that makes complex distributed systems operable.

References

Concepts