Have NodeBB used "optimistic concurrency locking"?
I think in NodeBB there is 'UPVOTE' concept,
While upvoting there has to be 'Optimistic concurrency locking',
So it can handle multiple database insert operation at a time while upvoting single post by multiple users.
Please let me know where do I find the code for 'Optimistic Concurrency locking',
and guide me how to handle multiple insert operation at a time in redis database.
sorry for necroposting, i've done my research, i would prefer mongoDB since it's just on the disk side, and not taking much memory like Redis. Memory issues are hard to deal with and messes up your whole server