No we didn't switch from mongo to postgres. We learned that using atomic transaction solves the problem of double-spend ex: $inc: { balance: -100 } - since then we do not have any double spend problem. Now we also use Layer7 API gateway for rate-limiting and throttling to get a first level protection for parallel API attacks.
$inc: { balance: -100 }
- since then we do not have any double spend problem. Now we also use Layer7 API gateway for rate-limiting and throttling to get a first level protection for parallel API attacks.