Side car pattern is used to aggregate common control, proxy, and logging of microservices components together on a component named as a side car. Side car then communicates to a common service mesh fabric. The side car enables unified control and management architecture for microservices.
The side car pattern is useful for the implementation of service mesh in a microservices architecture deployment. Service mesh is an inter-connection of multiple side cars associated with each service. It is an out of band mechanism for service discovery, routing, proxy, and reliable service to service communications, unified API, and integrates unified components for observability and security.
The basic topology of a service mesh using side car pattern comprises of following: