Ambassador Pattern

What is ambassador pattern? As per this pattern you create helper services which is actually responsible for sending request to other application or services on behalf of your service. These helper services are called as Ambassador services. Using ambassador pattern you offload the work for connectivity tasks like monitoring, logging, routing, security, application of circuit…

Strategy Design Pattern

What is Strategy Pattern? Strategy is a behavioral design pattern. This pattern helps you define different algorithms that can be applied in given circumstances into it’s own class and make their objects interchangeable. Can you help me understand what type of problem we can solve with Strategy Pattern? Let’s consider one example: One day you…

Visitor Design Pattern

Visitor Pattern is a behavioral design pattern, that helps you separate algorithms or new functionality you want to add to objects or classes. What this means is that, if you have to introduce new functionality or new behavior to an object or class, you don’t have to change the Class definition. Problem Statement Let’s understand…