@UserTrue Thank you for your advice. Yes, at first I tried the built in mongodb with it's module. It made me quite fast switch over to MySQL and the appropriate node.js module ;)
@andreiem I added a random sleep time before all the procedures started. The 1st thread starts. and then 2nd thread .. 3 and 4 5 ... Since they do not do the same operations at the same time, they do not consume much processor.
Hello. There was a strange problem, there is a resource - a list. While the script is running, the same element is taken several times. Why does this happen? Tick is not necessary (for reuse)
In the resource settings, set the number of successful executions to 1