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?
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.
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
@@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.
U r god, this is my beginner videos of design, will watch more off from now
Thanks!, great content!
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?
Don’t think i can explain it in comments. Will try to do a video for the same
@@TechPrimers Thank u so much will be waiting for it :)
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.
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
@@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.
there can be flag in between done and vacant that gives chance of preventing other users taking same seat
Finally after a month 😉
\m/
Seems like the fallback options for payment would bypass some of the payment security?
No Paul. Cash on Delivery uses OTP (one time password) with mobile number. So don’t think there is any short cut there.
@@TechPrimers not a good idea to have delivery people with both food and cash on them.