These are chat archives for RBMHTechnology/eventuate

29th
Aug 2015
Magnus Andersson
@magnusart
Aug 29 2015 21:07
A general question about CRDTs. Is there a general pattern where I know all replicas have converged on a conflict. I’m thinking specifically about when the validation of the next command relies on previous commands being executed. For example if you are selling tickets across multiple replicas, there are a limited number of tickets available, all tickets are numbered and everyone are reserving/buying at the same time. With CRDTs this would eventually converge, conflicting reservations being split into two and some people failing to reserve tickets at the end. But given a user trying to reserve ticket A1, can I keep track of when consensus have been reached on all replicas that A1 is for the moment reserved by this user? So that the user can proceed to pay for their reserved ticket
Magnus Andersson
@magnusart
Aug 29 2015 21:16
I realize I’m describing a transaction, but in the context of eventual consistency.