[Backend #8] How to avoid deadlock in DB transaction? Queries order matters!

[Backend #8] How to avoid deadlock in DB transaction? Queries order matters!

TECH SCHOOL

3 года назад

21,069 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Алексей
Алексей - 30.09.2023 13:34

Why do you show us the rest of the screen

Ответить
Luís Weck
Luís Weck - 02.07.2023 07:26

how to avoid this deadlock is the ID is a uuid, for example?

Ответить
MCGAM3R_TV
MCGAM3R_TV - 13.06.2023 21:56

Very helpful video. for some reason my fmt.Println() is not printing.

Ответить
An Nguyen Van
An Nguyen Van - 06.05.2023 15:21

mind blowing, thanks for sharing amazing knowledge

Ответить
worrapong limsupreeyalat
worrapong limsupreeyalat - 16.12.2022 22:23

More than how to debug that problem, But solution so minimal and powerful.

Ответить
La Cascada, Obregon
La Cascada, Obregon - 01.10.2022 02:54

Every sentence is literally great information. I watch these slowly and learn so much. So many golden nuggets of knowledge every video

Ответить
Stacks
Stacks - 01.10.2022 00:37

Truly thankful for the content, I can't imagine how long I would have taken figuring out the deadlock issue🥳

Ответить
Dilshat Aliev
Dilshat Aliev - 26.08.2022 12:15

Awesome course, thanks a lot, keep up the good work!

Ответить
DangBEy
DangBEy - 29.05.2022 10:30

If update has no correlation with foreign keys it will not block other channels yes?
is not there something also like "NO KEY" for update?

Ответить
DangBEy
DangBEy - 29.05.2022 10:29

Best course I have ever took

Ответить
Yann ROLLAND
Yann ROLLAND - 07.02.2022 12:08

Thanks, very clear!

Ответить
昆仑弈客
昆仑弈客 - 08.05.2021 16:19

for now, i can not understand why the condiction is arg.FromAccountID > arg.ToAccountID, i think the accountid is unorderly.

Ответить
Sarthak Master
Sarthak Master - 13.04.2021 21:06

Awesome, got to learn a lot today👌🏻nice work, please keep up with your work.

Ответить
Bergeter
Bergeter - 23.10.2020 16:36

excellent explanation! how do you clean data that made from unit test? is it not conflict / make another test failed when the record already exist?
im studying how to make test with real database interaction (not with mock). I had looked into datadog go-txdb, seems promising

Ответить
AJF
AJF - 03.09.2020 02:08

nice I like your channel

Ответить
innov
innov - 02.09.2020 14:49

Thanks a lot. How to make transaction with go for Mongodb ???

Ответить
StyleTrick
StyleTrick - 02.09.2020 14:18

Great video explaining this, truly awesome content by the way!

Ответить