Correction on point C. Consistency does not mean the data should not go below 0 in the "amount section". It means that if the account balance is 300, and I decrement by 100, and after the transaction if I read the balance, it should be 200 right away. There cannot be a delay of updation after the transaction ends and I made a read.
Hi there, what is the best practice to implement the database transactions? should it be implemented in database stored procedures or in the backend code?
Hi Denis, Typically databases support Transactions as part of update operations. We very rarely need to roll our own. For example, here's some documentation on Postgres transactions: www.postgresql.org/docs/8.3/tutorial-transactions.html Hope this helps
wow, legend. now, i understood the TX, and that why is it important for all operations to be sucessul or none to be called TX.
Yes! A very good video. You have explained so much clearly with examples in less time. Satisfied & Subscribed.
One more 💎 on youtube, love the way you are explaining things...
Thank you so much 😀
thank you for this explanation. really easy to follow and a good pace.
Glad you enjoyed it!
This correspondence serves as confirmation of the successful transfer from the bank to your Visa/Mastercard card.
superb video sir. tnqs a lot. love from india
i appreciate your work, explained Tx in very easy way ! thanks
You're very welcome Rohit!
Nicely explained in short time
Thanks !
Correction on point C. Consistency does not mean the data should not go below 0 in the "amount section". It means that if the account balance is 300, and I decrement by 100, and after the transaction if I read the balance, it should be 200 right away. There cannot be a delay of updation after the transaction ends and I made a read.
ty for the clarification bro
Finished watching
This is a part of some playlist ?
Hey man great video
Thank you, this video was very helpful. :)
You're very welcome!
Great explenation, no bs or padding the vide
Thanks a lot
You're very welcome Luis!
This serves as formal notification of the successful receipt of the BTC transaction.
Awesome. Thank you.
You're welcome!
Hi there, what is the best practice to implement the database transactions? should it be implemented in database stored procedures or in the backend code?
Hi Denis,
Typically databases support Transactions as part of update operations. We very rarely need to roll our own. For example, here's some documentation on Postgres transactions: www.postgresql.org/docs/8.3/tutorial-transactions.html
Hope this helps
Brilliant!
Thanks Brian!
What the concept of Serializability?
thankyou
No problem!
Sarcastically, oh, because transfers from banks to cards are always such a nail-biting affair, aren't they? But hey, it happened.
safe bro
❤
ill consider this the next time i drop acid.
sorry i had to do the joke
Finished watching