4 ms·
"MongoDB is designed to be run on a machine with sufficient primary memory to hold the working set. In this case, writes finish extremely quickly and therefore
by timr 15y ago
"MongoDB is designed to be run on a machine with sufficient primary memory to hold the working set. In this case, writes finish extremely quickly and therefore lock contention is quite low. Optimizing for this data pattern is a fundamental design decision."
Yeah, well, that's a problem. MySQL and Postgres perform dramatically better if you keep everything in memory, too -- but they don't fall over if they have to hit the disk. (And yes, they can handle lots of concurrent writes, even when the working set is larger than RAM.)
I have no particular bias for or against MongoDB, but arguing that it's peachy because its biggest limitations were designed-in from the start isn't a winner. Some of us want tools that aren't going to fail under reasonably expected application loads. Also, arguing that Enthusiastic Developers are Working Really Hard on fixing those limitations isn't especially compelling (I'm still waiting for Enlightenment 17...)
- rdtsc 15y agoSometime the best marketing for your product is stupid marketing of competitor's product. Those that worry about their data when they read what supporters are saying and they hear "writes finish extremely quickly and therefore lock contention is quite low" because "it is all in memory" will turn around and walk away. Some who are nice will take the time to explain and criticize that is such a bad design (and those will be deemed as haters), most will just turn around and find something else. > but arguing that it's peachy because its biggest limitations were designed-in from the start My beef with them is with the perceived dishonesty in their marketing (and it must be the 4th time I've said, sorry if you have to read this phrase again). They basically never made the trade-off obvious on their front page. So at worst it was dishonesty, at best it was just a bad thought-out design that wasn't fixed until a couple of months ago. Sorry, I cannot accept their product, because I have doubts in their competence.