How Distributed Systems Avoid Race Conditions Using Pessimistic Locking? | Hacker News Reader