Skip to main content
8 votes
Accepted

Implementing a mutex-free thread safe scheme for protecting a object

It's not safe Consider the following order in which the two threads execute: ...
G. Sliepen's user avatar
  • 69.2k
7 votes
Accepted

API having flow - normal flow along with background poller(it also involves events which is not shown here)

durability makes an entry to the DB Good. I'm going to assume it is postgres, MariaDB, or some similarly scalable RDBMS. That is, we have ACID guarantees rather than a Valkey or NoSQL backend. ...
J_H's user avatar
  • 42.1k

Only top scored, non community-wiki answers of a minimum length are eligible