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

  Рет қаралды 7,206

Tech Primers

Tech Primers

Күн бұрын

Пікірлер: 14
@sainathmandavilli6538
@sainathmandavilli6538 Жыл бұрын
U r god, this is my beginner videos of design, will watch more off from now
@fgraf555
@fgraf555 Жыл бұрын
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 :)
@faizul_official
@faizul_official Жыл бұрын
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.
@JaNaMSoNi
@JaNaMSoNi Жыл бұрын
Finally after a month 😉
@TechPrimers
@TechPrimers Жыл бұрын
\m/
When u fight over the armrest
00:41
Adam W
Рет қаралды 26 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4,2 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 76 МЛН
REST vs GraphQL | When to choose one over other | Tech Primers
19:42
Microservices Architecture - Implementation with Example - Part 1
3:18
Five Minute Tech
Рет қаралды 30 М.
Fail-over and High-Availability (Explained by Example)
19:21
Hussein Nasser
Рет қаралды 58 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 26 МЛН