A sidecar proxy is an out-of-process network proxy that runs alongside an application container in a service mesh. It can take on network tasks without adding that logic to the application. section 10.4.2
Give the proxy work that can happen transparently, and keep business decisions with the application:
- A proxy can retry dropped network packets, pool connections, use mTLS, and eject failing nodes from a load balancer pool. section 10.4.2
- Use application code for domain-aware fallbacks, such as returning cached data or queuing an order; the proxy does not know the business Plan B. section 10.4.2
- A service mesh can also use sidecars to handle mTLS and identity automatically, supporting Zero Trust in polyglot or legacy environments. section 11.10
