Saga Design pattern Spring Boot Microservices Interview Questions and Answers | Code Decode

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 147

  • @balag2368
    @balag2368 2 года назад +68

    Got many offers just in ten days. Your playlist is enough to clear any interviews.

    • @CodeDecode
      @CodeDecode  2 года назад +9

      Many congratulations Bala 👏👏👏👏. Well done . Keep learning keep shining Man 👍👍👍

    • @hackstreet781
      @hackstreet781 Год назад +4

      absolutely. I also got 2 offers.

    • @kartiksachdeva4196
      @kartiksachdeva4196 Год назад

      Which companies

    • @ysatyadivy
      @ysatyadivy 11 месяцев назад +1

      Do you have experience before in JAVA or did you try as a fresher?

    • @kartiksachdeva4196
      @kartiksachdeva4196 11 месяцев назад

      ​@@ysatyadivy If u need any help u can ping me i have 8yoe

  • @fidra19
    @fidra19 2 года назад +10

    Awsome channel ma'am! You are clearing up all the concepts in half an hour or less, keep up the great work!

  • @sukanyaswaminathan9130
    @sukanyaswaminathan9130 7 месяцев назад +5

    Thanks a lot.. i am in maternity break for the past 4 years.. And bcos of code decode i was able to clear many interviews.. You are really doing a great job. God bless u all❤

  • @abdulmaliknurudeen7331
    @abdulmaliknurudeen7331 Год назад +2

    I have read alot about microservices. But this playlist Sums everything up. Thanks alot.

    • @CodeDecode
      @CodeDecode  Год назад

      Good to hear that Man 👍👍😊

  • @thiyamybabygirl2144
    @thiyamybabygirl2144 2 года назад +4

    Thanks for this video. Expected one.... first like...

    • @CodeDecode
      @CodeDecode  2 года назад +2

      Thanks a lot 🙂🙂👍👍

  • @sreejeshraj4800
    @sreejeshraj4800 2 года назад +3

    Nice explanation and illustration, without wasting time. Great job!

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks a lot Raj 👍👍

  • @SaravananViswanathan-t2i
    @SaravananViswanathan-t2i 11 месяцев назад +1

    Several thanks to you madam. After listening to your vodcast, I think I must be able to crack one interview. You must be well trained tutor

    • @CodeDecode
      @CodeDecode  11 месяцев назад

      Thanks 😊😊 many congratulations on cracking your interviews 👍👍

  • @AshishSingh-rx4sq
    @AshishSingh-rx4sq Год назад +1

    Superb! Every time I study learn from here, I feel lucky to discover this channel. This channel will surely cling the #1 best channel one day.

    • @CodeDecode
      @CodeDecode  Год назад

      Means a lot to us Ashish 🙏🙏

  • @mohammedsufi4649
    @mohammedsufi4649 Год назад +1

    Please keep up your great job!.. All your materials are not only for interview it helps us to enhance and improve our overall technical knowledge in a concise way. Hats off to all your efforts!..

  • @mohammadrayyan7388
    @mohammadrayyan7388 6 месяцев назад +1

    I admire the way you teach with so much clarity. Thankyou for a noble work. God bless u

  • @saisree651
    @saisree651 5 месяцев назад

    Happy to be a subscriber of code decode.. earlier i have cracked interview by referring videos in this channel.. now again i am planning for switch after maternity.. Hope I will clear the interview... thanks for making great videos..

  • @manojkumarpadhi2445
    @manojkumarpadhi2445 2 года назад +2

    Thanks a lot for such a brief explanation. I was waiting for it from a long time back...😊👌👍

    • @CodeDecode
      @CodeDecode  2 года назад

      M glad it helps 👍🙂

  • @manoj47parmar
    @manoj47parmar 2 года назад +2

    Just 1/2hr ago it was asked in interview. Thanks for sharing this wonderful video🤩✌

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks Manoj. M sure things will settle up soon 👍👍

    • @manoj47parmar
      @manoj47parmar 2 года назад +1

      @@CodeDecode Ya one day definitely with the support of #CodeDecode

    • @CodeDecode
      @CodeDecode  2 года назад

      👍👍keep rocking Manoj 👍👍

  • @razvan-danielmihaescu1555
    @razvan-danielmihaescu1555 2 года назад +4

    Very nice video, started some months ago on a microservices architecture project. This video offered me another view of my proiect as well. Many thanks, really looking forward for the next ones!
    Many congratulations! Very good job, maybe an improvement could be also some more examples from the real world while explaining all of the concepts could help to understand everything better, like Kafka could be a good example in this video for instance which you already mentioned.

    • @CodeDecode
      @CodeDecode  2 года назад +1

      Thanks. Sure👍👍 we will cover more real time examples👍

  • @sajeeshkumar4510
    @sajeeshkumar4510 Год назад +1

    Nice and able to understand with more clarity. Thanks for your video.🙏

    • @CodeDecode
      @CodeDecode  Год назад

      Thanks Sajeesh 🙂🙂👍👍

  • @sonujain4768
    @sonujain4768 Год назад +3

    Helped me to understand the topic quite easily. Great job! 👍😀

  • @kalpanapeddi5754
    @kalpanapeddi5754 7 месяцев назад

    Lots of respect to u sister❤If any interview was scheduled, i will just go through all the playlists which helps me alot to crack the interviews😍

  • @hackstreet781
    @hackstreet781 Год назад +1

    I was asked about Saga pattern in an interview but I was not aware about it, now in 20 minutes, I know what it is about. Thank you very much and keep making such videos. Can you also cover Jenkins in some video?

    • @CodeDecode
      @CodeDecode  Год назад

      Thanks. Please participate in our give away Man also let us know your name. You have been our constant supporter. We would love to pay you back. Please add your email n name in the form we shared today in the video.

  • @truthreveal6521
    @truthreveal6521 2 года назад +2

    Got to know today about your channel . I found its v helpful. I have started going through ur Playlist, its v good for today's market 👌. N ur way explanation is awesome.
    It would would very helpful if you do a simple project on this saga please . I was asked in recent interviews

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks a lot 🙂🙂. Sure we will do that 👍👍

  • @s4sunshine01
    @s4sunshine01 4 месяца назад +1

    where is the message broker in the Orchestration saga pattern diagram

  • @krishnalakshmi8896
    @krishnalakshmi8896 Год назад +1

    hi , this video is truely very good , please try making videos of CQRS and other design patterns of Microservices. Thanks

    • @CodeDecode
      @CodeDecode  Год назад

      Sure we will try to upload that video soon 👍

  • @Aegon-s6u
    @Aegon-s6u 10 месяцев назад

    this video is not for learning , but getting the entire concept clear in just 20 mins.

  • @Atul_Shegokar
    @Atul_Shegokar Год назад +2

    Excellent explanation Ma'am, I loved the way you explain with real time example.
    Can you please also describe Chreography and orchestration with coding examples?

  • @phanimc11211
    @phanimc11211 Год назад +1

    Can you please also describe Chreography and orchestration with coding examples, TIA

  • @jayjoshi1366
    @jayjoshi1366 Год назад

    Awesome explanation on Saga Design Pattern and its two types. I just have one question regarding the Drawback of Orchestration Pattern : Since it is a single point of failure and if it's down then no service can communicate with each other to let next participant know of executing its process, is there any solution to this drawback? And if not, then is Orchestration Pattern worth using in Microservices architecture where there can be hundreds to thousands of microservices ?
    Your answer on this would be really appreciated. Thanks!

  • @vidhyavd8385
    @vidhyavd8385 2 года назад +2

    Hello Mam, You are doing an awesome job helping many people out there with clarity.
    Can you please do a video on J2EE design patterns

    • @CodeDecode
      @CodeDecode  2 года назад

      ruclips.net/p/PLyHJZXNdCXselvpjEhygQ9GlDQihtQj6i

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks a lot Vidhya👍👍🙂🙂

  • @srndrpec
    @srndrpec 2 года назад +1

    Hi, I have a doubt, what if we're designing for Flight Tickets booking
    with 2 services booking and payment service,
    If we use Saga, booking will reduces #AvailableTickets count and then goes to payment service.
    Take a look at this Scenario:
    a. 2 requests Came into system and only 1 ticket left to book
    b. As per Saga, first request reduced #AvailableTickets to 0 and went ahead to payment service
    c. Meanwhile second request entered booking service and saw no tickets available and returns.
    d. first request failed at payment and rolled back #AvailableTickets to 1
    So Saga supports only eventual consistency?

  • @Satenc0
    @Satenc0 Год назад

    One question, using the orchestrator, is the orchestrator microservice required to have its own database too?

  • @santhoshr2497
    @santhoshr2497 9 месяцев назад +1

    Hey thank you for making such great videos.. please make videos for other three types of design patterns

  • @lovebranch-hemavasanth
    @lovebranch-hemavasanth 2 года назад

    what is interceptor and how to create own interceptor in microservices ? and one more thing how to implement saga approach

  • @srinivasaraokandibanda4131
    @srinivasaraokandibanda4131 6 месяцев назад

    Clean way of representation and keep up the good work

  • @komalsingh-vi2ur
    @komalsingh-vi2ur 2 года назад +3

    Hi,This is really helpful. Can you please also describe Chreography and orchestration with coding examples?

  • @rslakshmicreation
    @rslakshmicreation 2 года назад

    Hi am using undertow-core dependency in my springboot project. Jfrog is not showing any fix version. And xray violation is showing in jenkins. Pls help to solve undertow vulnerability issue. Pls suggests some solution. Thanks in advance

  • @omprakash-vq3wq
    @omprakash-vq3wq 2 года назад +1

    Good explanation, can you please add CQRS design patterns video with example?

    • @CodeDecode
      @CodeDecode  2 года назад

      Sure om 👍👍🙂🙂

  • @na2599
    @na2599 10 месяцев назад

    Orchestration Pattern is the Synchronous Communication right?

  • @yoganandbheema6851
    @yoganandbheema6851 3 месяца назад

    can you create sample application for this saga orchestration design pattern

  • @jayakrishnathammana
    @jayakrishnathammana Год назад +1

    Please do a series of design patterns and their use in micro services…

  • @arpanagrawal4264
    @arpanagrawal4264 Год назад +1

    Very nicely explained. Hats off!! Pls create a video for CQRS design pattern as well.

  • @anandu06
    @anandu06 2 года назад +1

    Please add example for the above concept , as per theory able to understand but if u added the coding part ,it will be wonderful.

  • @AshishAshish-fp8po
    @AshishAshish-fp8po 8 месяцев назад

    One Question - You said while delivery fail, will call the revert payment event so payment service had done the commit already right ? and then payment service will rollback the committed transaction ? or it will do reverse credit the amount to customer ?
    please answer

  • @layarichard6739
    @layarichard6739 2 года назад +1

    Thank you very much..pls add videos for other patterns also

    • @CodeDecode
      @CodeDecode  2 года назад

      Sure Richard 👍👍🙂🙂

  • @sheetaljadhav8401
    @sheetaljadhav8401 5 месяцев назад +1

    explained topic in simple way. thank you

  • @abhishekgowlikar
    @abhishekgowlikar Год назад +1

    Good content on the MS Design Patterns.

  • @tysonnfury9226
    @tysonnfury9226 Год назад

    Can you explain what is the difference between this transaction communication and microservices communication.

  • @hamednikbakht9708
    @hamednikbakht9708 2 года назад +3

    please add video from spring batch process excel file microservice

  • @sreejeshraj4800
    @sreejeshraj4800 2 года назад +1

    Can you please create videos for other design patterns too? Thanks in advance.

    • @CodeDecode
      @CodeDecode  2 года назад

      Sure 👍👍 we will do that 👍

  • @gokulaher2476
    @gokulaher2476 10 месяцев назад

    Hi this is gokul here
    Its been long time it's nice explanation about saga
    Could you please create a video of the real code example of the same UI micro service
    Order microservice, payment microservice, delivery microservice
    That would be really good
    Thanks for the informative video

  • @MohitKhare
    @MohitKhare Год назад +1

    amazingly explained. ❤

  • @bhavanadurga
    @bhavanadurga Год назад +1

    Can you pls implement Spring boot application of it

  • @karthiknainupatruni5022
    @karthiknainupatruni5022 Год назад

    please make a video for CQRS and Event sourcing Design patterns

  • @shankark1664
    @shankark1664 Год назад

    very very nice and clear explanation madam. thank you for your videos

  • @mallesrao
    @mallesrao Год назад +1

    Can we have any implementation for Saga... which is good to work with Distributed tx

  • @vandanac2244
    @vandanac2244 Год назад +1

    Please can u add videos for CQRS pattern

  • @PolaSantosh27
    @PolaSantosh27 Год назад +1

    Hi, It was a wonderful explanation of the SAGA pattern👌👏👏. Considering the same example which you gave us, can you make a spring-boot coding example, which shows us how this is implemented in real-time? Please provide me the link if you have already done a video for that. Thanks in advance

    • @bhavanadurga
      @bhavanadurga Год назад +1

      Same request from my side as well

  • @abdullahzthought
    @abdullahzthought 7 месяцев назад +2

    What is the full form of SAGA?

    • @CodeDecode
      @CodeDecode  7 месяцев назад +1

      SAGA" does not stand for an acronym but is borrowed from storytelling, symbolizing a sequence of events that make up a complete narrative

  • @PrateekJain348
    @PrateekJain348 Год назад +1

    I have a set of questions on Microservices, could you please help me with them?

    • @CodeDecode
      @CodeDecode  Год назад

      Sure Prateek. Shoot👍

    • @PrateekJain348
      @PrateekJain348 Год назад

      @@CodeDecode Below is the list of Questions.
      - Circuit breaker pattern in Microservices?
      - Constructor overloading with reference to Dependency injection?
      - We have a Json file and 2 microservices , 1st one is putting data in this JSON file and 2nd one is consuming data from this. How will you handle locking of the file?
      - Can we use SAGA to resolve distributed locking system?
      - Will SAGA help in case we read Json file for put and consume case?
      - What will heppen when we use POST to update the Data?
      - There might be a change PUT won't work, can we use POST in that case?
      - Application is incapable of processing PUT, Can we use POST to update data in Database ?
      - Advantage/Disadvantage of using post to update Data?
      - Distributed Locks in Spring-boot Microservice Environment?

  • @jasonsgreen
    @jasonsgreen Год назад

    i have no clue on what swiggy or zomato sounds like uber or grub hub ?

  • @all-in-Recipes
    @all-in-Recipes 4 месяца назад

    Hands-on explanation on the microservice design patterns would be more helpful.

  • @zmxn007
    @zmxn007 Год назад +1

    Very good explanation. thannks

  • @ManaTelugu-i4s
    @ManaTelugu-i4s 11 месяцев назад

    If orchestration itself has its own problems then what is the solution?

  • @arpitsik4649
    @arpitsik4649 Год назад +1

    Hi Mam, Hope you are doing good. I need a small suggestion.
    In one of recent interviews, i was asked how you maintain transaction in microservice applications. I mentioned exactly the same saga design pattern.
    Just next to that i got a ques, how have u implemented the saga pattern in the project realtime?
    How to answer this question. Any siggestion would be great or else if any realtime implementation video would be there it would be much more helpful. ThankYou💯

    • @CodeDecode
      @CodeDecode  Год назад

      There are 2 ways Arpit - 1) orchestrator 2) choreography
      That's how u implement it. Is it not covered in video Arpit?? Did I forget to mention it???

    • @arpitsik4649
      @arpitsik4649 Год назад +1

      @@CodeDecode No no mam , you have mentioned both the points in the video.
      It was asked how you have implemented that specific choreography in your project.
      May be implementTion part they want to know. That was my concern.
      Can we describe the kafka implementTion in answer to the same question

    • @CodeDecode
      @CodeDecode  Год назад

      Ohh ok implementation is left. Correct Arpit . I completely forgot about that. Thanks a lot for reminder. We will try to upload implementation part 👍👍😇. Thanks 🙂🙂

    • @arpitsik4649
      @arpitsik4649 Год назад

      @@CodeDecode thank you so much mam. Eagerly waiting for the implementation video. Coz I lost one interview just bcz for this implementation part.
      As I always say, you are doing a way better for us. Keep going mam.✨️

    • @kidpuns
      @kidpuns Год назад

      @@CodeDecode Waiting for implementation part and cqrs pattern. Please continue your microservice series as it will help everyone to upskill with your way of teaching with practical examples as theortical sessions are few only

  • @shilpasingla1739
    @shilpasingla1739 7 месяцев назад

    Awesome explanation of saga pattern

  • @ankeshkapil3129
    @ankeshkapil3129 7 месяцев назад

    how come create and validate and send order happen in one transaction 😅

  • @ruchajoshi1517
    @ruchajoshi1517 Год назад +1

    Well explained

  • @test-nature
    @test-nature 6 месяцев назад

    Thank you very much ! Great video.

  • @anandnerurkar4471
    @anandnerurkar4471 2 года назад +1

    very nice video. is it possible for you to take CQRS, EVENT SOURCING

  • @ArjunKumar-zu2kl
    @ArjunKumar-zu2kl Год назад

    Good one though but this video title is misleading saying interview question, it's SAGA tutorial only.

  • @shilpasah3388
    @shilpasah3388 2 года назад +1

    Please show example for saga pattern .

  • @rajenderprasad1193
    @rajenderprasad1193 2 года назад +1

    Thank you very much .. 😊

  • @dummymail6029
    @dummymail6029 10 месяцев назад +1

    great video thanks code decode

  • @sona7806
    @sona7806 2 года назад +1

    Thanks for the content. Please create other design pattern videos like CQRS

    • @CodeDecode
      @CodeDecode  2 года назад

      sure we will create it soon

  • @PujaKumari-rp5sg
    @PujaKumari-rp5sg 7 месяцев назад

    Same question asked in one of my interview

  • @akashsaha9366
    @akashsaha9366 2 года назад +1

    Thanks maam. Good one

  • @tysonnfury9226
    @tysonnfury9226 Год назад +1

    Thankyou dear

  • @sourishravichandren3837
    @sourishravichandren3837 3 месяца назад

    Thanks

  • @sivashankar-sx9ul
    @sivashankar-sx9ul Год назад +1

    Super akka

  • @rishiraj2548
    @rishiraj2548 2 года назад +1

    👍💯

  • @dhirajbindal7539
    @dhirajbindal7539 2 года назад

    Hello Mam
    I am searching for a Java job as a fresher and I am bit worried.
    Please guide me which topics should I learn from your videos ??

  • @indlasubramanyam8766
    @indlasubramanyam8766 2 года назад +1

    Your money got deducted and you have no food 😁😁😁😁 3:36

  • @devendra.sanghavi
    @devendra.sanghavi 8 месяцев назад

    ♥♥

  • @rakeshmishraLmp
    @rakeshmishraLmp Год назад

    There is much English rather than facts and knowledge

  • @iammanishvb7332
    @iammanishvb7332 2 года назад +1

    Nicely explained 🫡
    Can you make a demo for this one?