HA vs Fault Tolerance | How Swiggy handles Faults in Microservices? | Tech Primers

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

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

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

    U r god, this is my beginner videos of design, will watch more off from now

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

    Thanks!, great content!

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

    Hi ,Thanks for the yet another wonderful tutorial. Have a question regarding system design for building survey to upvote/downvote with random list of 10 questions to billions of users? Could you please suggest whats the best way for this?

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

      Don’t think i can explain it in comments. Will try to do a video for the same

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

      @@TechPrimers Thank u so much will be waiting for it :)

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

    Finally after a month 😉

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

    Hey bro awesome explanation.
    Thanks bro.
    I have a question on payment processing related
    in some websites like bookmyshow or redbus after we selected a seat
    they wait for 5 mins or 10 mins to get payment done.
    in that meantime they really lock those seats and how they handle
    double booking and race conditions. This is lot of time to wait.
    I thought this way like they let them happening double booking and
    track who completed the payment they will assign seats and remove
    failed payment or drop whoever not completed that payment.

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

      Correct Faizul. This is to handle race condition and the 5/10 min is the end to end timeout for payment. Since payment gateways are external to the booking site they introduce this timeout. Another one to look at is IRCTC

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

      @@TechPrimers
      Thanks for your reply.
      So in this way again what if two users got paid for same seats and who will they assign to that seat.
      Are they having any reservation token generated with sequentially and decide based on that even payment
      done in same time?
      Just curious to know avoid double booking in whatever way 😀
      After you mentioned IRCTC I would like share my bad user experience. Most of time
      I loose tatkal tickets and money. But they will reprocess in 1 week.

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

      there can be flag in between done and vacant that gives chance of preventing other users taking same seat

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

    Seems like the fallback options for payment would bypass some of the payment security?

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

      No Paul. Cash on Delivery uses OTP (one time password) with mobile number. So don’t think there is any short cut there.

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

      @@TechPrimers not a good idea to have delivery people with both food and cash on them.