How to create a monotonically increasing counter using Express.js and LMDB
April 13, 2025 by Andrew Dawes
It’s surprisingly challenging to code an auto-incrementing counter in a concurrent environment. Specifically, the problem of “lost updates” quickly becomes quite real.