3 ms·
I knew something was funny with Mongo when all the api calls defaulted to writes not being guaranteed to sync to disk. Maybe for a use case like aggregate stat
by narrator 12y ago
I knew something was funny with Mongo when all the api calls defaulted to writes not being guaranteed to sync to disk. Maybe for a use case like aggregate statistics gathering it would be ok to risk missing a few updates in a crash for the sake of speed, but to make that the default??
- threeseed 12y agoYou know this configuration change was changed in November 2012. Do you think it's still relevant to be bringing this up ?
- lazyloop 12y agoActually, the defaults are still unsafe, just the marketing language has changed. Take the Node.js driver for example, it defaults to w=null and j=false. http://mongodb.github.io/node-mongodb-native/2.0/api/Db.html http://mongodb.github.io/node-mongodb-native/2.0/api/Db.html
- edejong 12y agoWould you want to miss the most important post-recovery data: when your system is under duress?