Thanks Konrad.

~
Karthik

On Wed, Dec 2, 2015 at 1:56 AM, Konrad Malawski
<konrad.malaw...@typesafe.com> wrote:
> No, the sharded actors do not need to be persistent.
> Akka Persistence *is* however needed internally by Cluster Sharding in order
> to be able to cope with recovery / dying of nodes etc.
>
> So:
> - you need to configure persistence with a distributed journal, yes
> - no, your sharded actors do not have to be persistent.
>
> If you actually don't use multiple nodes and are only testing stuff, a local
> journal is enough.
>
> --
> Cheers,
> Konrad 'ktoso’ Malawski
> Akka @ Typesafe
>
> On 2 December 2015 at 04:31:34, Karthik Deivasigamani (karthi...@gmail.com)
> wrote:
>
> Konrad,
>     Does cluster sharding feature require the actors to be persistent
> actors? I looked at the typesafe examples for cluster sharding -
> http://www.typesafe.com/activator/template/akka-cluster-sharding-scala and
> they are all based on Persistent actors. I'm trying to use cluster sharding
> with Actors that are not persistent and ran into some issues. So wanted to
> know if non-persistent actors are supported.
> Thanks,
> Karthik
>
> On Saturday, November 28, 2015 at 3:47:22 AM UTC-8, Konrad Malawski wrote:
>>
>> You should read up on cluster sharding:
>> http://doc.akka.io/docs/akka/current/scala/cluster-sharding.html
>>
>> Such "to the same Actor, given an identifier" is exactly what it is
>> designed for.
>>
>> --
>> Cheers,
>> Konrad 'ktoso’ Malawski
>> Akka @ Typesafe
>>
>> On 28 November 2015 at 11:59:52, Karthik Deivasigamani (kart...@gmail.com)
>> wrote:
>>
>> We have a system where we require all requests pertaining to a given
>> user-id be processed in order and by the same actor. For example : if we get
>> requests for userid - u1,u2,u3,u1,u4,u5,u5 in that order then the requests
>> for user-id u1 must always go to the same actor so that they can processed
>> in the order they were receive. What's the best way to accomplish this in
>> scala-akka? Any examples?
>> --
>> >>>>>>>>>> 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+...@googlegroups.com.
>> To post to this group, send email to akka...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
>>>>>>>>>>> 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.

-- 
>>>>>>>>>>      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