Тёмный

Transactions Internal implementation write ahead log and locks with banking examples 

Tech Dummies Narendra L
Подписаться 160 тыс.
Просмотров 84 тыс.
50% 1

Transactions and how it works using write-ahead logs and Locks.
How transactions help in online banking and online transactions and payment.
#transactionsimplementations #bankingdbqueries
transactions #onlinepayment #paymentgatewaysystemdesign
#systemdesigntips #systemdesign #computerscience #learnsystemdesign #interviewpreperation #amazoninterview #googleinterview #uberinterview #micrsoftinterview

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@Niteshkumar-zd3kr
@Niteshkumar-zd3kr 3 года назад
You should have explained concurrency in more detail and also what kind of locks are used. you took 20 minutes but the contents are not worth it.
@kipkip6712
@kipkip6712 3 года назад
This video starts at 17:00.
@chris.w391
@chris.w391 4 года назад
14:07 What it looks like when I am in an interview, LOL.
@sctm81
@sctm81 4 года назад
Same 😅
@8Trails50
@8Trails50 4 года назад
LMAO
@illusionEditorss
@illusionEditorss 3 года назад
Well, he does a great come back from there :)
@YT-yt-yt-3
@YT-yt-yt-3 2 года назад
lol
@actondon6573
@actondon6573 Год назад
this is a 20mins video of repeatedly talk about 2 mins content
@yangmyfly
@yangmyfly 4 года назад
I think 17:00 is the real implementation detail of the transaction
@Amin-wd4du
@Amin-wd4du 4 года назад
You probably need to redo this video. You could explain the whole thing in 5 minuets. Even shorter
@balqaasem
@balqaasem 4 года назад
​@Tech Dummies - Narendra L Can you please do a video on the architecture / system design of Stripe or Braintree? Thanks a lot, I love your videos... keep doing the good work.
@海涛高
@海涛高 3 года назад
Assuming you know some SQL database knowledge, this video is wasting the viewer 20 minutes. Assuming you just want to come and learn the SQL basic about transaction, this video is wasting 15 minutes because the concept can be explained in 5 minutes.
@iitgupta2010
@iitgupta2010 5 лет назад
This is basics I guess. Can we discuss complex cases like transaction between microservices, different app detailing with single app...etc
@TechDummiesNarendraL
@TechDummiesNarendraL 5 лет назад
Work in progress
@iitgupta2010
@iitgupta2010 5 лет назад
@@TechDummiesNarendraL Would like to give one more suggestion if you allow. we should talk about qps estimation, memory/storage estimation, server estimation etc before jumping to arch of any system design question. Because this is how we should approach the problem. This helps us to decide 1. Database load 2. Servers and load balancer technique 3. how the system is resilient
@changxing7690
@changxing7690 3 года назад
I think 4:05 this is atomic, not transaction.
@MrDishajain
@MrDishajain 4 года назад
hi, could you please make a video on load balancing in case of rest api on distributed environment. since this is a very common interview question.
@TheAshu1978
@TheAshu1978 2 года назад
IMO, instead of updating wallet balance example, updating stock would make more sense. Wallet is always individually maintained. Stock data can be shared simultaneously with more than one users especially in case of festive sales or launch scenario.
@glennmglazer
@glennmglazer Год назад
Wallets are not always individually maintained. Couples often have shared wallets, as do departments in a company for members of the department to expense items.
@joydeeprony89
@joydeeprony89 3 года назад
could you please make a video on concurrent seat booking implementation (bookMyShow/Paytm movie seat booking)?
@Pro3512
@Pro3512 3 года назад
What would be the value seen by B once A row gets locked but transaction did not happend...it is 100$ or 90$ ?
@ahanjura
@ahanjura 2 года назад
Superficial explanation of Transactions. Please read a good book to understand this well. Thankfully, didn't waste these 30m
@User122-ls2cd
@User122-ls2cd 3 года назад
The solution proposed seems mostly applicable to SQL type db's. Will this scale for something like amazon
@ameyapatil1139
@ameyapatil1139 5 лет назад
Extremely well done !
@subee128
@subee128 2 месяца назад
Thanks
@6pack291
@6pack291 2 года назад
time is precious but content is a bit dry; 20 mins for explaining the concept of atomic nature of transactions is a bit too much.
@yushutong722
@yushutong722 2 года назад
Dude, WAL is not in-memory storage, it has to be persisted
@ravitejavankam2977
@ravitejavankam2977 2 года назад
In short, transaction should follow ACID property.
@at_tap
@at_tap 5 лет назад
one of your rare videos where you dont seems to be comfortable
@rajendiranvenkat5992
@rajendiranvenkat5992 3 года назад
what if my connection is not good enought to modify the locked row. is that locked until i manually kill the thread? in case of mysql i think there is no way to specify to timeout lock time.
@venkatachadalawada4276
@venkatachadalawada4276 5 лет назад
at 4:29 how will either of one gets picked ? what is the strategy that DB uses to make it happen. Can you please explain?
@kshitijpancholi5594
@kshitijpancholi5594 3 года назад
i have never seen you without the cap
@SandeepOnYoutube
@SandeepOnYoutube 5 лет назад
I want to watch all your videos but problem is very-bad-quality-audio please please improve your audio I want see your videos.🙏
@mattleahy3951
@mattleahy3951 5 лет назад
It sounds fine to me. Maybe there's a problem with your speakers?
@RandomShowerThoughts
@RandomShowerThoughts Год назад
this is fantastic for review
@Rliu1992
@Rliu1992 4 года назад
Bro you are a legend for making these videos! So helpful! Please make one about subscribe and publish thanks!
@maximpodkolzin865
@maximpodkolzin865 3 года назад
did you say that WAL is in memory storage??
@aneksingh4496
@aneksingh4496 4 года назад
Can u please elaborate more on WAL
@sumonmal009
@sumonmal009 3 года назад
THIS COMMENT IS FOR MY PERSONAL REFERENCE. TO UNDERSTAND PROPERLY WATCH THE FULL VIDEO -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- transaction 9:30 14:01 write ahead log 18:31
@lukeav6097
@lukeav6097 5 лет назад
Can you do a video on bitcoin design
@sweepstakes91
@sweepstakes91 5 лет назад
When A transfers money to B , two records are locked by the transaction one for A and one for B , correct me if i am wrong . (Thinking of a scenario A transfer to B and within that instant B's account gets closed )
@jatinsharma8141
@jatinsharma8141 4 года назад
Yes ,exactly what I am thinking in case there is a C user who want to send money to A.Then lock will be on C. And A will have wrong amount.
@akashdwivedi7357
@akashdwivedi7357 4 года назад
That's not how it works . for a transfer there are 3 operations 1. withdraw() -> acquire lock on A 2. Deposit() -> Acquire lock on B 3. deduct_commission() -> Acquire lock on A A transaction is said to be successful if and only if all of 3 steps are successful. else it will fall under redo() or abort() there are different strategies followed by different Database system. one of them is acquiring all the required locks before transaction starts. another is request for lock if required. both the strategies have it's own pros and cons and deadlock situations. which is also taken into account when designing a lock mechanism. Hope this helps
@NaturalPro100
@NaturalPro100 5 лет назад
You make stuff easy to understand bro thanks ...
@sachinmukherjee29
@sachinmukherjee29 5 лет назад
I was reading the same topic on Geekforgeeks. This video made my understanding more clear. Thankyou ☺️
@TechDummiesNarendraL
@TechDummiesNarendraL 5 лет назад
purpose served :)
@aman_yadav_rts
@aman_yadav_rts 4 года назад
Sound quality is worst
@AjayGupta-mx6co
@AjayGupta-mx6co 4 года назад
Very good content and explained it very clearly. appreciate your efforts. but please try to not to repeat same statement 3-4 times. I've seen it in all your videos. You can finish your videos in less time. Rest are the things are really very good. keep it up.
@rahulsinghai3033
@rahulsinghai3033 5 лет назад
Please talk about how to get job outside india
Далее
Watch this before your System design interview!!
28:18
Просмотров 123 тыс.
Do you know Distributed transactions?
31:10
Просмотров 230 тыс.
Лучше одной, чем с такими
00:54
Просмотров 758 тыс.
Whatsapp System design or software architecture
27:40
Просмотров 253 тыс.
Write-ahead-logging
15:02
Просмотров 12 тыс.
Design a Payment System - System Design Interview
31:40
Лучше одной, чем с такими
00:54
Просмотров 758 тыс.