Re:MongoDB rocks my world
by bretthoerner on Monday October 31, 2011 @05:14PM
(#3179103)
In your best and worst case scenarios for the lock you forgot that MongoDB will also need to write a journal entry by default (1.9.2+).
[ Parent
| on HN ]
Re:MongoDB rocks my world
by mathias_10gen on Monday October 31, 2011 @05:29PM
(#3179167)
Writing to the journal is actually done outside of the write lock most of the time. It does hold a readlock, however as of 2.0 most commits will release the lock before doing any disk I/O.