News for hackers. Stuff that matters.
Re:Everything You Know About MongoDB Is Wrong by vorpalhex on Thursday November 26, 2020 @12:14AM (#25217070)
> Eventual consistency is a consistency model used in distributed computing to achieve high availability that informally guarantees that, if no new updates are made to a given data item, eventually all accesses to that item will return the last updated value. [1]

That is literally the definition of eventual consistency. How you achieve it doesn't matter to being eventually consistent, just that it is.

[1] - https://en.wikipedia.org/wiki/Eventual_consistency

Re:Everything You Know About MongoDB Is Wrong by Cojen on Thursday November 26, 2020 @12:29AM (#25217147)
This makes me wonder how it's possible how to replicate data without being eventually consistent. I can't transmit data faster than the speed of light. It seems that the definitions here need more clarity, because eventual consistency in the broadest sense applies to everything. Is there a good example of replication consistency which isn't "eventual", but is instead immediate?
Re:Everything You Know About MongoDB Is Wrong by rubiquity on Thursday November 26, 2020 @12:34AM (#25217178)
It’s all about when you acknowledge back to the client, whether you accept writes at a single writer or multiple writers, and whether reads can be served from any node. Most EC systems tend to be multi writer with async replication. This means clients get acks immediately and reads to other nodes for those values can contain various values. The speed of the network doesn’t matter from a theoretical perspective. Network speed only affects potential convergence times. Time is time regardless of the unit of measurement.

See my other comment above for distinguishing between EC and Sequential.

Re:Everything You Know About MongoDB Is Wrong by irjustin on Thursday November 26, 2020 @12:38AM (#25217190)
I don't think the OP is arguing that replicated data is not "eventually consistent" because it is as you say.

OP is arguing the blog post is trying to change the definition of "eventually consistent"... the author is saying the delay between the master and slave is not "eventually consistent"... when, exactly as you say, it is.

Re:Everything You Know About MongoDB Is Wrong by amluto on Thursday November 26, 2020 @12:33AM (#25217168)
SQLite, appropriately configured, is trivially linearizable — everything is protected under one lock on one machine.
Re:Everything You Know About MongoDB Is Wrong by eindiran on Thursday November 26, 2020 @12:36AM (#25217184)
Re:Everything You Know About MongoDB Is Wrong by Jasper_ on Thursday November 26, 2020 @01:25AM (#25217402)
Here's an overly simple, impractically slow, but immediately consistent model for you: for every request from a client, ask all other nodes in the network the same query. If you get 100% consensus, return the answer, otherwise, ask again.