Hadn't looked too deeply into cluster sharding yet, glancing at the 
documentation is does appear to be an approach.

Since these things are coming in UUID based, I would need to figure out how 
to have the shard assignment be uniform across the cluster.


On Monday, March 16, 2015 at 1:04:28 PM UTC-4, Martynas Mickevičius wrote:
>
> Hello Paul,
>
> have you considered cluster sharding 
> <http://doc.akka.io/docs/akka/2.3.9/contrib/cluster-sharding.html>?
>
> On Sun, Mar 15, 2015 at 5:34 AM, Paul Cleary <[email protected] 
> <javascript:>> wrote:
>
>> I have to create a short lived actor in a cluster, the actor is 
>> identified by a UUID.
>>
>> It is possible that I have 10 messages coming in for the same UUID at the 
>> same time on 10 *different* nodes.
>>
>> How would I create the actor once for that UUID, and ensure that all 10 
>> messages get to the same actor on the same JVM?
>>
>> Is this possible?  Part of me is thinking that the aggregation to the 
>> same UUID is a Map Reduce problem.
>>
>> -- 
>> >>>>>>>>>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Martynas Mickevičius
> Typesafe <http://typesafe.com/> – Reactive 
> <http://www.reactivemanifesto.org/> Apps on the JVM
>  

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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