3 ms·
I chuckle every time anyone has tried to handle long(64bit) overflows while incrementing by one. Other than that, the version checks + retries have been a thin
by xxs 2y ago
I chuckle every time anyone has tried to handle long(64bit) overflows while incrementing by one.
Other than that, the version checks + retries have been a thing since forever (they are the most bog standard way to do any lock-free datastructures, along with database updates in the same manner). They do need a back off, though.