backendconcurrency
Atomic increments are not ordinary read-modify-write
Anonymous
A read followed by an increment and a write can lose updates when threads interleave. An atomic increment makes that operation indivisible. For a group of changes that must stay consistent together, a lock or a transactional approach may still be needed.
0