[Backend #7] DB transaction lock & How to handle deadlock in Golang

Опубликовано: 07 Октябрь 2024
на канале: TECH SCHOOL
28,320
576

In the last lecture, we've learned how to implement a simple money transfer transaction. However, we haven't updated the accounts' balance yet because it's more complicated and require careful handling of concurrent transactions to avoid deadlock. So in this lecture we're gonna implement this feature to learn more about database locking and how to debug and fix a deadlock in Golang.
Join us on Discord: https://bit.ly/techschooldc
Get the course on Udemy: https://bit.ly/backendudemy
Buy us a coffee: https://www.buymeacoffee.com/techschool
Full series playlist: https://bit.ly/backendmaster
Github repository: https://github.com/techschool/simplebank
Read it on DEV: https://dev.to/techschoolguru/db-tran...

---

In this backend master class, we’re going to learn everything about how to design, develop, and deploy a complete backend system from scratch using PostgreSQL, Golang and Docker.

TECH SCHOOL - From noob to pro
   / techschoolguru  
At Tech School, we believe that everyone deserves a good and free education. We create high-quality courses and tutorials in Information Technology. If you like the videos, please feel free to share and subscribe to support the channel or buy us a coffee: https://www.buymeacoffee.com/techschool