by Anders Hammarquist for EuroPython 2012
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/