Re:MongoDB's Write Lock
by mnutt on Sunday January 01, 2012 @03:30AM
(#3412747)
Were your writes changing the size of the documents so that mongo had to move them? I've had this happen and it'll cause mongo to grind to a halt.
[ Parent
| on HN ]
Re:MongoDB's Write Lock
by orthecreedence on Sunday January 01, 2012 @06:14PM
(#3414129)
Some of them were, but others were just updating a boolean or an integer value. For the most part we tried to pad our records, but I'm sure there was some moving along the way.
I guess it depends on what % of your writes were simply updating a boolean or integer value. My benchmark shows that simple updates like that don't affect query performance much. Writes that take longer probably have different performance characteristics, YMMV, etc.