transactions in order because otherwise users will be able to use up more funds than they had, if 2 requests are processed simultaneously.
This was simple and easy to use for me: https://www.npmjs.com/package/p-queue
Why doesn't your database handle it?
Обсуждают сегодня