Internal Anatomy of an Update
In MongoDB 2.6 the update system was completely re-architected and rewritten. There were many reasons for this infrastructure refactoring (along with many others in 2.6 and soon 2.8), not the least of which was laying the road for better concurrency, locking, testing, readability and expanding features. In this session we will dig into the new design, implementation and important behaviors of the update system. With a better understanding of one of the most critical ways of writing data in MongoDB you will better understand the features, performance and behavior of MongoDB in general and specific to writing data. We will tangentially touch on replication, locking, concurrency, sharding, and performance as it relates to writes in this session but our main focus is that of exploring how an update works under the covers, and in detail.