Jagdishraut·3d agoDo We Really Need to Lock Everything? A Story of Optimistic and Pessimistic LockingWhenever a deadlock or a data inconsistency due to concurrency shows up in production, the first thing that comes to a developer’s mind is…
Jagdishraut·Oct 20How PostgreSQL Handles Concurrency: MVCC ExplainedPicture this: It’s Friday night at 11:59 PM. Your background worker is generating a massive monthly financial report, running heavy queries…