Django Transaction | ACID Properties | DB Locks | Race Condition | Concurrency | DB Inconsistency

Опубликовано: 14 Март 2023
на канале: Priyanshu Gupta
2,886
113

🎥 In this video, I will discuss how you can handle race conditions due to concurrent requests trying to update the same row in the database leading to database inconsistencies.

✴️ Understanding the problem through an example of a bank account transfer
✴️ How to satisfy SQL ACID Properties in Django
✴️ ACID - Atomicity, Consistency, Isolation, Durability
✴️ How to make an atomic transaction in Django
✴️ What is database rollback
✴️ What will happen in case the server is performing operations and the system fails/shutdowns due to unexpected reasons
✴️ How to maintain consistency in the database?
✴️ How to lock the rows in the database using select_for_update (Kind of a DB Lock in Django)
✴️ Understanding select_for_update params - nowait=True/False, skip_locked=True
✴️ What is durability in ACID?
✴️ Understanding when the changes actually get committed to the database

👉 Ask your queries in the comment section box
Links -
💻 Discord:   / discord  
📸 Instagram:   / priyanshu._gupta  
✈ Telegram: https://t.me/priyanshuguptaofficial

⭐️ In case anyone wants a doubt or a 1:1 mentorship session, feel free to book it on my calendar -
https://topmate.io/priyanshugupta


👉 SUBSCRIBE to get more free tutorials, courses and code snippets!
   / @priyanshuguptaofficial  


✨ Keywords
Django Transaction
Transaction in Django
Concurrency
Inconsistency
DB Locks
django select_for_update
django race condition
concurrency control in Django
concurrency control in dbms
django acid transactions
django db lock
ACID Properties
atomicity in django
Consistency
Isolation
Durability
Inconsistency
Database integrity
select_for update django
django select for update
database inconsistency problem
atomic transaction django


Смотрите видео Django Transaction | ACID Properties | DB Locks | Race Condition | Concurrency | DB Inconsistency онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Priyanshu Gupta 14 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,886 раз и оно понравилось 113 людям.