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.
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
Yes! A very good video. You have explained so much clearly with examples in less time. Satisfied & Subscribed.
This correspondence serves as confirmation of the successful transfer from the bank to your Visa/Mastercard card.
One more 💎 on youtube, love the way you are explaining things...
Thank you so much 😀
superb video sir. tnqs a lot. love from india
Nicely explained in short time
Thanks !
thank you for this explanation. really easy to follow and a good pace.
Glad you enjoyed it!
i appreciate your work, explained Tx in very easy way ! thanks
You're very welcome Rohit!
Finished watching
Hey man great video
This serves as formal notification of the successful receipt of the BTC transaction.
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!
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
Awesome. Thank you.
You're welcome!
This is a part of some playlist ?
Sarcastically, oh, because transfers from banks to cards are always such a nail-biting affair, aren't they? But hey, it happened.
Brilliant!
Thanks Brian!
safe bro
ill consider this the next time i drop acid.
sorry i had to do the joke
thankyou
No problem!
What the concept of Serializability?
❤
Finished watching