How to avoid errors lock the database when using cluster and sequelize?

0 like 0 dislike
17 views
When using cluster and sequelize gives error table lock. In principle, logical since a single worker is already producing the record. How to sequelize understood that the request has already gone and is not necessary with other workarou re-send.
by | 17 views

1 Answer

0 like 0 dislike
I think you have from the point of view of architecture problems. Not comme Il faut if different worker doing the exact same operation on a single cell. If it's competitive demands from different users, it is quite normal that if someone edits, then others are waiting.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked May 20, 2019 by microf
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,901 users