5 ms·
I'm confused what horrible design flows MongoDB had apart from collection level locking ? And I can't imagine any of this is relevant today given that MongoDB
by threeseed 12y ago
I'm confused what horrible design flows MongoDB had apart from collection level locking ?
And I can't imagine any of this is relevant today given that MongoDB allows for pluggable storage engines.
- neumino 12y agoThe way it handle failures? You may be interested in this (old-ish) article: http://hackingdistributed.com/2013/01/29/mongo-ft/ http://hackingdistributed.com/2013/01/29/mongo-ft/
- threeseed 12y agoHow is that a design fault ? It was purely a poorly chosen configuration setting which reflects the fact that Mongo was originally not a general purpose database. And it was never even an issue for 99% of people because all the drivers at the time used the safer settings. I always find it amusing when people bring these issues up because it's like a giant sticker on their forehead that says "I've never actually seriously spent time with MongoDB before". I always go through the configuration of the database I use to make sure it meets my needs. Only seems sensible.
- neumino 12y agoI'm not sure we've read the same article.
- takeda 12y agoMongoDB is advertised as general purpose database though and majority of people use it that way.
- nemothekid 12y ago>It was purely a poorly chosen configuration setting which reflects the fact that Mongo was originally not a general purpose database. Thats dubious. 1.) When MongoDB was released, none of the drivers used the "safer" settings. 2.) 10gen, at the time, released benchmarks with the "unsafe" settings comparing it to MySQL and boasted that MongoDB was much faster (ignoring the fact that it wasn't acknowledging your writes).
- victorhooi 12y agoHmm, are you able to point us to any of these "benchmarks" with unsafe settings? AFAIK, until recently (i.e. the last month), there weren't any such benchmarks released by MongoDB - and then, only for 3.x. I'd be very surprised if any such benchmarks exist, as you claim. Disclaimer - I work for MongoDB Inc.
- takeda 12y agoAnother worth read: https://aphyr.com/posts/284-call-me-maybe-mongodb https://aphyr.com/posts/284-call-me-maybe-mongodb Although to be fair, it's not just MongoDB that is performing poorly.