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

Distributed eventual consistency Key Value Store

I find it difficult to convince myself the advantage of using complex design like DynamoDB over simple duplication strategy. Let's say we want to build a distributed key/value data store over 5 servers. (each server has exactly the same duplica).…
0
votes
1 answer

Techniques to ensure cluster wide consistency at distributed databases

After reading an excellent article about role of the logs in distributed file systems logging seems for me the only answer for cluster-wide-consistency of distributed databases and data integration problem. Does all distributed systems use logs for…
0
votes
1 answer

Integrating with Auth0

I'm in the process of implementing a user management Microservice (MS) and wanted to find out whether what I'm doing is ok. Users are created from the UI, which interacts with an API. The API makes an RPC call to the user management MS, and…
0
votes
1 answer

How do I track consistency delays in Datastore?

If too many indexes are defined, or composite indexes with too many properties, or there is too much data in a Kind, then subsequent queries might fail to find an entity for quite a while -- minutes or more -- after it has been inserted. Is there a…
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147
0
votes
1 answer

Apache OFBiz integration with Cassandra and Eventual Consistency

Apache OFBiz supposedly integrates with Apache Cassandra databases. But does it support the eventual consistency feature? If yes can anyone point me in the direction of some documentation or some written content explaining how? If no - does OFBiz…
vocoder
  • 57
  • 1
  • 5
0
votes
1 answer

S3 Wait function on direct resource access?

Is there any way to tell S3 to wait for an object before responding? I want to do this directly against the S3 endpoint via an HTTP(S) request. I understand this function exists in the PHP…
Paul Fryer
  • 9,268
  • 14
  • 61
  • 93
0
votes
1 answer

Does Consul key-value store give us any guarantees on ordering of two writes with two different keys?

Suppose we have only two nodes A and B. When we issue these two commands on the node A, $ curl -X PUT -d one .../v1/kv/key1 $ curl -X PUT -d two .../v1/kv/key2 (ie. PUT one key1 happens-before PUT two key2) and then GET of /v1/kv/key2 on the node B…
0
votes
2 answers

AppEngine achieving strong consistency

I am trying to achieve strong consistency. Let's call my model PVPPlayer: class PVPPlayer(ndb.Model): points = ndb.IntegerProperty() Every key for the model is created like this: pvp_player = PVPPlayer(key=ndb.Key(Profile, "test_id", PVPPlayer,…
Peter Leontev
  • 107
  • 1
  • 8
0
votes
1 answer

How to replicate/merge multiple system of records database systems into one Master system of records database

Im looking for a solution for what appears to be a complex problem. Basically, I need to find the fastest and most reliable way to create one "Master" database (system of records) based on data from multiple other "Distributed" systems of records.…
Judy007
  • 5,484
  • 4
  • 46
  • 68
0
votes
1 answer

Migrating existing entities to use entity groups

I am working with a legacy GAE system, using JDO 2.3, which does not use entity groups, but I now wish use entity groups, to take advantage of transactions. Having added a one-to-many relationship on two entity types, this works correctly for new…
0
votes
1 answer

App Engine Datastore takes up to 1 hour to reach consistency

After updating a record in the datastore, a query to that record returns sometimes the correct data and sometimes stale data. It takes up to 1 hour for the data to replicate. Is that regular behavior of the datastore eventual consistency? I'd…
0
votes
1 answer

How to handle failures in eventual consistency between aggregates in DDD?

Lets say I'm implementing Domain Driven Design using C# and Entity Framework. My code is structured such that each aggregate has its own dbcontext in EF to respect the principle of transactional boundaries around my aggregates. Aggregate 1,…
drizzie
  • 3,351
  • 2
  • 27
  • 32
0
votes
1 answer

What are today's techniques to overcome the limitations of CAP theorem?

Eric Brewer's theorem (1998), or CAP as most of the people refer to it, is one of the most known problems/limitations when designing big systems that require consistency, availability, and partition tolerance, when you only can achieve 2 of the…
securecurve
  • 5,589
  • 5
  • 45
  • 80
0
votes
1 answer

Cassandra cluster missing writes

I have a 6 node Cassandra cluster with replication factor of 3. No nodes were added/removed/down during the recent days. My application has three Kafka topics and four Storm topologies: Topology-1 gets events from Topic-1 and stores them to…
bopcat
  • 378
  • 4
  • 13
0
votes
2 answers

GAE/P: Storing list of keys to guarantee getting up to date data

In my Google App Engine App, I have a large number of entities representing people. At certain times, I want to process these entities, and it is really important that I have the most up to date data. There are far too many to put them in the same…