[akka-user] Re: How do I implement "Lookup or Create actor" pattern

2016-08-19 Thread Manh Ha VU
Hi Thibault, So finally, how did you implement this requirement of yours? I'm facing on a similar problem in which each actor is a Facebook Messenger user. I don't know in advance if these users exist so that I have to create a new actor if one does not exist. Thanks, Manh-Ha On Wednesday

Re: [akka-user] Re: How do I implement "Lookup or Create actor" pattern

2016-08-19 Thread Akka Team
Hi, I think nowadays your problem is solved by cluster sharding, which, apart from the crate-or-lookup pattern provides resilience and scaling: http://doc.akka.io/docs/akka/2.4/scala/cluster-sharding.html -Endre On Fri, Aug 19, 2016 at 11:41 AM, Manh Ha VU wrote: > Hi Thibault, > > So finally,