On Friday, 8 August 2014 16:45:30 UTC+8, Patrik Nordwall wrote:
>
>
> On Fri, Aug 8, 2014 at 12:21 AM, Vaughn Vernon <vve...@shiftmethod.com 
> <javascript:>> wrote:
>
>> I am sure you have already thought of this, Patrik, but if you leave full 
>> ordering to the store implementation, it could still have unnecessary 
>> limitations if the implementor chooses to support sequence only for 
>> persistenceId.
>>
>
> As a user you would have to pick a journal that supports your needs in 
> this regard.
>

I agree with you both.  With Vaughn I agree that we need a global sequence 
(although I understand this is very impractical within distributed systems) 
and with Patrik that it should be up to the store implementation (with the 
possibility of store configuration determining this).  It would be up to 
the store (and the developer's choice in configuring that store) to 
determine how close to causal or total ordering the sequence will be.

So for example, with general use of Kafka the store could provide events 
from each partition for a topic (if I understand correctly how Kafka works) 
in a round-robin fashion, which wouldn't be properly sequenced, but it may 
be manageable for some requirements.  If a developer wanted more strict 
"global" sequencing then they could configure the store to have a single 
partition,with the scaling implications that would have. 


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to