SAGA | Microservices Architecture Patterns | Tech Primers

preview_player
Показать описание
This video covers 2 different SAGA patterns - Choreography and Orchestration

Join this channel by contributing to the community:

📌 Related Playlist
================

🎬Video Editing: iMovie

🎼Background Music:
Dyalla
Joakin Karud

---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#Microservices #SAGA #TechPrimers
Рекомендации по теме
Комментарии
Автор

Got selected in an interview only by explaining to this one question bcz of this 👌

tirupatirao
Автор

Nice and clean explanation. What we see across multiple forums is explanation on Saga. But not coding example. Would be nice to see coding example for the same example.
The two components to see in coding example will be
1. how microservices handle multithreading (specially for crud operations assuming every microservice has its own database)
2. How data consistency is maintained across these 4 microservices (as per example in video). This one has two elements - first one being every microsrvice has its own database and second one being all have shared database.

shivraj
Автор

much needed video, since i have been searching how a client request is deserialized and executed by multiple micro services

rahulvutukuri
Автор

Great video, clearly explained how each microservices interact with each other, better than a lot of other materials I find on the internet

Tommy-ddpz
Автор

There are two points which needs to be added here: 1. In Choreography pattern how the failures are handled 2. In case of Orchestration pattern the request will not come to order-service the request will come to Orchestration service.

growtogether
Автор

Thanks Tech Primer for the tutorial. Would appreciate more content around microservices

ngneerin
Автор

orchestrator pattern introduce the high degree of coupling . please let us explain how compensation event would process ?

mr-black_rock
Автор

How to handle failures in these patterns, how you will define compensating events

redusuda
Автор

Your explanation was flawless! Thanks in advance for sharing your knowledge

Javoke
Автор

good explanaion about those patterns but motivation is missing. Also in orchestration pattern, does Orchestrater makes sync api call to each service and gets the response or it sends an event and receives an event as a response?

muraliable
Автор

1. There is a mistake Orch Pattern. The Main controller will get first trigger and from there it will call other services as per state change. Order service can't be input.

Also your diagram for Choreography is incorrect. You never showed Event bus connection.

paraglohiya
Автор

Hi. I have few queries on SAGA. Please help me to answer .

1. Here you cover only happy path, if everything works well. What if payment failed. How they roll back from the order services.
2. Do it maintain lock at database level. Say in ecommerce application, i have 5 inventory in stock but 10 users are buying at the exactly same time. ? How data consitency are maintained ?

puneetsaneja
Автор

Very clear, it 'd be great to develop an example with lambdas/spring cloud in AWS

MikeNoli
Автор

I think it’s wrong, SEC is associated to choreograph and not orchestrate .. I think you explanation is correct for choreography and not orchestrating, because in orchestration each service is responsible for its own compensation, please correct me if I am wrong as other blogs says different

sumitbabel
Автор

well explained! I would talk about distributed transactions and compensation operations for the rollbacks.

javisartdesign
Автор

Fantastic explanation. Thanks so much. Can you please show this at code level? It would been better to see it in action.

jasper
Автор

Nicely explained SAGA pattern, Can you explain what is the proper way to handle transaction across the distributed micro services?

Автор

Nice explanation and good to learn. Nice Bro

jka
Автор

Super.. can you do a video on the coding for the same using SAGA pattern

rajivraghu
Автор

Why in the Orchestration option the initial request is not sent to the orchestration service instead of the order service?

danielquirospicado
visit shbcf.ru