TypeFast
[ Ссылка ]
We go over database transactions and distributed locks that backend developers can utilize to help prevent race conditions at the database level.
In Rails, this feature is called Pessimistic Locking:
[ Ссылка ]
It's a useful feature to help you prevent race conditions.
![](https://i.ytimg.com/vi/aee3mrBwZb4/maxresdefault.jpg)