Part 2: Pessimistic Locking in Rails – Preventing Race Conditions in Production
Introduction
In the previous article, we learned why databases need locking and how PostgreSQL uses MVCC (Multi-Version Concurrency Control) to allow multiple transactions to work simultaneously.
Howe
railswithyashika.hashnode.dev7 min read