Skip to content

Question 44 / 50

ImportantHardScenarioConcurrency

Two requests credit the same wallet document at the same time using find, add in JS, then $set balance. How do you make this safe?

Think about it first.