Around 2 months ago before, a coworker approached me: “Hullo, I have an application (with Postgres database) that seems to experience race conditions on one user’s data when the user creates parallel sessions to handle their data at once, how should I prevent that? 😶”
Intuitively, I replied: “Transactions!”