Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

According to http://www.mongodb.org/display/DOCS/getLastError+Command it is still unsafe by default.


No, the journal file is turned on server-side and you'll get a journal append every 100ms (by default).


That's not what is meant by "safe" here. Safe is when you can be sure that the data were written (into the journal at least) by the time the write call in your code returns. Doing it up to 100ms later leaves a wide window open when the application believes the data are safely stored, while they are in fact in RAM only.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: