News for hackers. Stuff that matters.
Re:Jepsen: MongoDB 3.6.4 by rystsov on Tuesday October 23, 2018 @01:11PM (#18285271)
> Thus far, causal consistency has generally been limited to research projects ... MongoDB is one of the first commercial databases we know of which provides an implementation.

Cosmos DB provides session consistency (looks like an another name for causal consistency) at least since 2014 [1].

Cosmos DB's session guarantees [2]: consistent prefix, monotonic reads, monotonic writes, read-your-writes, write-follows-reads.

Mongo DB's causal consistency guarantees [3]: monotonic reads, monotonic writes, read-your-writes, write-follows-reads.

Doubt that four years later still qualities as one of the first.

[1] https://www.infoq.com/news/2014/08/microsoft-azure-documentd...

[2] https://docs.microsoft.com/en-us/azure/cosmos-db/consistency...

[3] https://docs.mongodb.com/manual/core/read-isolation-consiste...

Re:Jepsen: MongoDB 3.6.4 by aphyr on Tuesday October 23, 2018 @01:30PM (#18285450)
Causal and session are definitely similar, but I'm not entirely sure if causal implies consistent prefix, and conversely, I think causal miiight have stronger implications than just the intersection of MR, MW, RYW, and WFR. Because we weren't entirely certain whether we could make that claim regarding Cosmos, we opted to be conservative.
Re:Jepsen: MongoDB 3.6.4 by rystsov on Tuesday October 23, 2018 @02:33PM (#18286112)
I agree it's hard for me too to be precise about naming in academic sense. But this published paper "Writes: the dirty secret of causal consistency" says that both Cosmos DB and MongoDB have causal consistency so I don't know.. At least Cosmos DB and MongoDB provide the same guarantees for session/causal.
Re:Jepsen: MongoDB 3.6.4 by Strongerpass on Tuesday October 23, 2018 @01:15PM (#18285305)
.. but the post didn't say it was first. Not even the part you quoted.
Re:Jepsen: MongoDB 3.6.4 by Boxxed on Tuesday October 23, 2018 @01:21PM (#18285362)
Well, the quote you reference says, "one of the first," doesn't it?
Re:Jepsen: MongoDB 3.6.4 by Volt on Tuesday October 23, 2018 @01:36PM (#18285522)
"we know of"
Re:Jepsen: MongoDB 3.6.4 by polskibus on Tuesday October 23, 2018 @01:28PM (#18285438)
Was Cosmos DB tested by Jepsen?
Re:Jepsen: MongoDB 3.6.4 by rystsov on Tuesday October 23, 2018 @01:50PM (#18285661)
It's off-topic. But yes, Cosmos DB has rigorous tests[1] including Jepsen (a tool).

[1] https://twitter.com/dharmashukla/status/869104163510034432

Re:Jepsen: MongoDB 3.6.4 by aphyr on Tuesday October 23, 2018 @01:57PM (#18285713)
To clarify: no, Jepsen, as an organization, has not worked with CosmosDB.

I'm delighted they have rigorous tests, and I'm glad our tool has been helpful for them! We just can't say anything about those tests, because we haven't looked yet. Maybe someday!

Re:Jepsen: MongoDB 3.6.4 by namibj on Tuesday October 23, 2018 @09:36PM (#18289003)
I understand them having developed TLA+ to guide their design and test consistency primitives.