This story talks about how we can exchange data between microservices in event-driven architecture and how the saga pattern helps us.

a simple example in a typical e-commerce store app:

imagine that you are building an e-commerce store where customers have a credit limit. The application must ensure that a new order will not exceed the customer’s credit limit…

Proxy is a black box while Decorator is a white box….

Proxy lets you provide a substitute or placeholder for another object.

Decorator is also called “Smart Proxy.” This is used when you want to add functionality to an object, but not by extending that object’s type. …

Emad ghaffari

as Software Engineer Trying to permanently progress and being up to date is my most important interest

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store