3 ms·
Yeah, but I didn’t know that at the time I was naming the project. Just a coincidence.:)
by davidlatwe 5y ago
Yeah, but I didn’t know that at the time I was naming the project. Just a coincidence.:)
- the-dude 5y agoNP, last time I read something from him was around 2000, when he postulated one should just solve referential integrity in your application. Purely coincidental :-)
- davidlatwe 5y agohahaha XD
- ncphil 5y ago... back then, lots of projects were saying referential integrity was an operations problem. That was rubbish, and they knew it. Same for multimaster replication. Fortunately we're past that now. But I like MongoDB for its document model, not its service architecture (although it definitely gets the job done). This Monty is an interesting project, and I'm looking forward to future developments.
- davidlatwe 5y agoThanks for the kind words !
- slver 5y agoIts document model is vanilla BSON on disk.
- avinassh 5y agoIt possible to update the BSON without loading the entire document in the memory? I am curious how Mongo does updates.
- slver 5y agoIt’s a memory mapped file. If you update a bool or number value it’ll rewrite just that. If you update anything else it’ll often have to rewrite the entire document due to variable size.
- MaBeuLux88 5y agoThat was true with MMAPv1. It's not since March 2015, when WiredTiger was introduced with MongoDB 3.0.
- the-dude 5y agoI assume when you say just that, it will write an entire page.
- slver 5y agoIn practice yeah I guess. But rewriting the document is more extensive, it might even have to be moved (because Mongo allocates certain number of bytes for it, and it might outgrow that).