Questions tagged [eventual-consistency]

Eventual consistency is a consistency model used in distributed computing 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.

Eventual consistency is widely deployed in distributed systems (often under the moniker of optimistic replication) and has origins in early mobile computing projects. A system that has achieved eventual consistency is often said to have converged, or achieved replica convergence. While stronger models, like linearizability are trivially eventually consistent, the converse does not hold.

Eventually consistent services are often classified as providing BASE (Basically Available, Soft state, Eventual consistency) semantics (in contrast to traditional ACID (Atomicity, Consistency, Isolation, Durability) guarantees).Eventual consistency is sometimes criticized as increasing the complexity of distributed software applications. This is partly because eventual consistency is purely a liveness guarantee (reads eventually return the same value) and does not make safety guarantees: an eventually consistent system can return any value before it converges.

Wikipedia

278 questions
0
votes
1 answer

Frameworks to help work with App Engine's eventual consistency + caching

I believe I have a fairly typical use case, which is very difficult with eventual consistency. I'm wondering if anyone's already created a python framework to help with this. I have a GET request that issues a query for a set of entities. They are…
0
votes
1 answer

What are the factors that affect eventual consistency over long-haul networks?

I have looked up quite a few resources on eventual consistency and they all speak about why it is important and about Paxos and Byzantine General problem and stuff like that. What I am more interested is in knowing about actually implementing or…
CodingInCircles
  • 2,565
  • 11
  • 59
  • 84
0
votes
1 answer

How are post-conditions implemented with CQRS?

How does CQRS handle post-conditions on immediately consistent models? I realise something like this is irrelevant on an eventually consistent system w/ event sourcing etc. But if I just wanted to apply vanilla CQRS to a simple interface, how would…
-1
votes
2 answers

DDD: How to design history aggregate in ecommerce

I have Buyer, Product, Seller, and Offer. The buyer offers to buy a product and the seller either accepts the offer or declines it. I also have the following invariants: Buyer can't make an offer for a product if there is a pending one…
-1
votes
1 answer

Mongo Db shards

I have doubts on how shards are organized in Mongo D. Does primary also have a shard or its only across secondaries ? Also can someone elucidate the strongly consistent and eventually consistent architecture. If you know of any site that explains…
RowLand
  • 61
  • 1
  • 8
-1
votes
1 answer

Is redis ZADD consistent in redis cluster environment?

Is it possible - when executing ZADD in redis cluster environment - that all the added keys end up not being available at the same time to everyone ? We use a (scala) redis client to add batch of keys with ZADD. The keys are then requested after a…
Azzip
  • 122
  • 10
-1
votes
1 answer

What is CALM principle in Distributed systems?

Can you please site a working example of Consistency As Logical Monotonicity (CALM) ? I know the theory behind this but need to see a working example . Google searches redirect me to technical research papers .
fnaticRC ggwp
  • 955
  • 1
  • 11
  • 20
-4
votes
2 answers

Why some people say Riak is eventual consistent

In Riak by default data bucket are replicated to 3 different nodes (N=3). Also number of replicas that must respond to a read or write request before it is considered successful are 2 nodes (R=2, W=2). We know when N is small or equal to R+W, Riak…
Sepehr Samini
  • 963
  • 4
  • 11
  • 15
1 2 3
18
19