These are chat archives for RBMHTechnology/eventuate

26th
Apr 2016
Calvin Lee Fernandes
@calvinlfer
Apr 26 2016 14:51
hey @krasserm, are there any examples of akka cluster sharding like behavior with Eventuate? I saw some mention on Google Groups and was hoping you could point me in the right direction
Martin Krasser
@krasserm
Apr 26 2016 15:42
@referentiallytransparent there's no sharding functionality in Eventuate itself but you should be able to use akka-cluster-sharding to shard Eventuate actors (although I didn't try that)
Calvin Lee Fernandes
@calvinlfer
Apr 26 2016 15:46
So when there's a network partition, Eventuate AP model will be in use right?
Martin Krasser
@krasserm
Apr 26 2016 15:54
Can you please elaborate what exactly you want to achieve?
Calvin Lee Fernandes
@calvinlfer
Apr 26 2016 16:02
I would like some form of consistency in case of a network partition. Very likely there will be two instances of the same persistent actor in two places at once, I was wondering what is the behavior in this scenario
Martin Krasser
@krasserm
Apr 26 2016 16:34

Very likely there will be two instances of the same persistent actor in two places at once

Can you please give a minimal description of the system model you have in mind, or at least sketch an example, I'm quite lost, sorry ...

Calvin Lee Fernandes
@calvinlfer
Apr 26 2016 17:01
so I have some Member Actors that do some calculations when given a transaction
where each actor represents a unique member with some identifier like 1, 2, 3, 4
The Member actor persists the transaction and does some calculations on it to determine if the transaction is eligible for some offers
in a split brain scenario that member actor might exist in two places at once
a transaction could be sent to only one of the places so now one member has transactions in one place that the other doesnt have
this is a problem with Akka persistence during a network partition
can eventuate help mitigate this problem?
Calvin Lee Fernandes
@calvinlfer
Apr 26 2016 17:15
I saw Event collaboration that does event replication across availability zones in your talk (which was awesome btw) so I was just wondering :smile: