3 ms·
People really underestimate the value of Occasional Consistency. Occasionally Consistent databases, like MongoDB, are great for approximation algorithms, sublin
by cpks 11y ago
People really underestimate the value of Occasional Consistency. Occasionally Consistent databases, like MongoDB, are great for approximation algorithms, sublinear time algorithms, and similar applications.
- jdcryans 11y agoThe issue isn't that MongoDB is eventually consistent, it's that the documentation claims that in some cases it's strictly consistent[1] while Kyle found that: "MongoDB, even at the strongest consistency levels, allows reads to see old values of documents or even values that never should have been written." 1. http://docs.mongodb.org/manual/reference/glossary/#term-strict-consistency http://docs.mongodb.org/manual/reference/glossary/#term-stri...
- cpks 11y agoI didn't say Eventual Consistency. I said Occasional Consistency. MongoDB is has hard Occasional Consistency. Indeed, it is the most occasionally consistent database I know of. I once wrote a few million records into Mongo. It was consistent before the write, but never again after. Great for sub-linear time algorithms! At that point, all my algorithms ran at less than O(n) on the size of the data I had written in. From a business perspective, Occasional Consistency is also a very nice property if you are storing audit data for certain types of organizations. It gives complete plausible deniability about rule compliance.
- jdcryans 11y agoHeh, Poe's Law, etc :) I guess you could also call it Quantum Consistency.
- digitalzombie 11y agoOccasional Consistency sounds like a made up word. I can't even google this term without it auto correcting to Eventually Consistency. The wiki article, https://en.wikipedia.org/wiki/Consistency_model https://en.wikipedia.org/wiki/Consistency_model, doesn't even have such a term. Doing a hard search term on google reveals nothing.
- kasey_junk 11y agoIt was sarcasm...