Multi-document consistency with MongoDB
[EuroPython 2012] Anders Hammarquist - 4 JULY 2012 in "Track Lasagne"
When working with MongoDB, especially if you are coming from (or converting an application) the SQL world, you will probably miss the SQL transaction, which gives you, among other things, atomic writes. MongoDB only provides atomic writes to one document. We will show you how you can implement multi-document writes that are, if all writers cooperate, consistent across multiple documents and either writes all changes completely or fail without writing any changes. Audience: People who are looking at SQL alternatives, but still need some sort of transaction-like consistency. Understanding of parallellism issues, race conditions and deadlocks, may be helpful. MongoDB knowledge is not needed. Slides online at: http://www2.openend.se/~iko/ep2012/