Is it possible to implement Multi-Version Concurrency Control (MVCC) on top of MongoDB?

前端 未结 5 484
广开言路
广开言路 2020-12-31 20:09

MongoDB is to me a great database. However there are cases where I really need atomic multi-document transactions. For example to transfer things (like money or reputation)

5条回答
  •  半阙折子戏
    2020-12-31 21:03

    Money transaction can be implemented via two-phase commit : http://www.mongodb.org/display/DOCS/two-phase+commit

提交回复
热议问题