I wouldn't see it as a bad thing to use sharding locally to achieve the "lazily create actors for me" semantics that it implements. You're right that it's designed for a more powerful context - i.e. it is *cluster* sharding, to shard the load across a number of nodes, but hey - who says you won't need more nodes eventually, and then you don't really need to change your infra, sharding could just use more nodes then.
Happy hakking! On Thu, Aug 27, 2015 at 9:15 AM, Amir Karimi <[email protected]> wrote: > Hi, > > With the kind help of the community > <https://groups.google.com/forum/#%21topic/akka-user/IAyHHn1vJL4> I came > to the conclusion that I can use cluster sharding to manage resources > better and the cluster sharding module is already implemented in Akka. > > But I just need the *sharding* feature of the module, not clustering. > Actually a single node is enough for now and probably for the foreseeable > future. > > Is it OK to run a single node cluster and just use its sharding mechanism? > If yes, what is the best practices for configuration and tests. > > Regards, > Amir > -- > > *Amir Karimi amirkarimi.github.io <http://amirkarimi.github.io/>* > > -- > >>>>>>>>>> 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. > -- Cheers, Konrad 'ktoso' Malawski Akka <http://akka.io/> @ Typesafe <http://typesafe.com/> -- >>>>>>>>>> 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.
