PS: The professor I was referring to is Doug Lea, who wrote the ".dl.ncurrent" library for Java. They're convinced that if they plug just one more hole in the wire mesh, then it'll be good enough for their submarine. The MongoDB guys just don't understand this. His more qualified statement is that if a professor writing simplified cases in textbooks can't get it right, then the overworked developer under time pressure writing something very complex has effectively zero chance. This sounds like an oddly strong statement to say, but the guy who wrote the textbook that contained that statement went on to dig up trivial looking examples from other textbooks that were subtly wrong. You either mathematically prove that it is correct, or it is wrong for certain. VALENTINA STUDIO UPDATE SQL SERVER REDDIT CODESomething that was drilled into me decades ago is that there is no such thing as fixing multi-threaded (or distributed) code via debugging or patching it "until it works". And vice-versa(but maybe something else like Cassandra would). If PostgreSQL would meet your needs, it's unlikely that MongoDB would. That said, one thing that always amuses me is how MongoDB gets mentioned in the same context as PostgreSQL. I'd still evaluate other alternatives before considering it. But I can't help but feel that it should have been released as a beta product, instead of claiming it was production ready. Has MongoDB improved? Yes, leaps and bounds(seems to still fail Jepsen tests though). It's one of the few databases I'm pretty confident that data will be there even if you yank a server power cord mid writes. In contrast, PostgreSQL data loss bugs are rare - and are treated extremely seriously. Then there were some bad defaults - some could _also_ cause data loss.įor any component that's viewed as a database (as opposed to, say, cache), data integrity is one of the most important metrics (if not THE most). Some of those instances were even documented. One thing that turned me away from MongoDB was their utter lack of care for your data integrity that they displayed for years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |