eventual-consistency

Eventual Consistency

I am in the early stages of design of an application that has to be highly available and scalable. I want to use an eventual consistency data model for this for a number of reasons. I know and understand why this is an unpopular architectural choice for many solutions, but it's important in my case. I am looking for real-world advice, b...

Eventually consistent mnesia database with erlang. Best practices anyone?

Hi. I'm writing a bittorrent tracker in erlang. Given the nature of the service, I won't need absolute consistency (ie. a client can be perfectly happy with a slightly outdated list of peers or torrent status). My strategy so far has been to create mnesia tables in RAM with disc_copies enabled, so to have mnesia automatically dump the ...

How should I handle eventual consistency in SimpleDB, particularly in relation to unit testing?

We're building a web app on top of the Amazon Web Services stack, and I'm loving it so far. We're also making full use of test driven development and that is also proving to be fantastic. I'm just hoping someone can help me out with an issue I've come across which relates to Amazon SimpleDB's "eventual consistency". The best example o...

Are there any general algorithms for achieving eventual consistency in distributed systems?

Are there any algorithms that are commonly used for achieving eventual consistency in distributed systems? There are algorithms that have been developed for ACID transactions in distributed systems, Paxos in particular, but is there a similar body of theory that has been developed for BASE scenarios, with weaker consistency guarantees...

On google's BigTable, if my entities belong to the same Entity Group (parent), will the entities be fully consistent?

I have started learning about Eventual Consistency. My entities on google's BigTable belong to specific Entity Groups (parents) to support transactionality. My question is: if my entities belong to the correct Entity Groups, and if I do reads/updates in a Transaction, will Reads be fully consistent? (as opposed to Eventually Consistent?...

How to handle set based consistency validation in CQRS?

I have a fairly simple domain model involving a list of Facility aggregate roots. Given that I'm using CQRS and an event-bus to handle events raised from the domain, how could you handle validation on sets? For example, say I have the following requirement: Facility's must have a unique name. Since I'm using an eventually consiste...

Great articles/videos/... on non-ACID (distributed) systems? ("Eventually Consistent" etc.)

I'll start with these - IMO brilliant - articles: Base: An Acid Alternative - by Dan Pritchett (eBay), 2008 Eventually Consistent (- Revisited) - by Werner Vogels (Amazon), 2008 Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web services (non-free) - by Seth Gilbert, Nancy Lnych (MIT), 2002 I'm i...

Is the data system for ATM-machines using eventual consistency?

I wounder how the world-wide ATM-systems are architected. It must be pretty hard for the banks to design a consistent system world wide. Do they use eventual consistency for this or do they use a great ACID system? I can be in Sweden one day, where my bank is and use the ATM, then take the airplane to USA or Thailand and use the ATM abr...