Support unavailable
Please try again later

Multi-document consistency with MongoDB

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:


Do you have some questions on this talk? Leave a comment to the speaker!

New comment

Download slide (None)
(Size: 19.8 KB)

60 minutes (inc Q&A)

Tagged as

nosql database
Our Sponsors
Python Experts
SSL Matrix
Wanna sponsor?