Microservice and Containerization Patterns > Base Deployment Patterns > Microservice Ambassador
Microservice Ambassador (Erl, Naserpour)
How can microservices efficiently interact with remotely deployed utility components that need to be independently maintained?
Problem
Solution
Application
An ambassador container is implemented on the same host as the microservice. The ambassador container provides components through which the microservice can efficiently communicate with the remote utility components.
Microservice A uses the ambassador container as a liaison to communicate with externally deployed utility.
This pattern can be applied to enable the ambassador to be part of a maintenance cycle independently of the microservice and to further establish a system whereby the ambassador is used to monitor the performance metrics of the microservice, including latency or resource usage, as described in the complete pattern description.