On Wed, Jun 18, 2014 at 7:37 PM, Amit Kalfus <[email protected]> wrote:
> Hi, > > thanks for the answer, but its still not totally clear to me - > > AFAIK on my configuration I have 2 receptionists, one on each node in the > cluster. > so even with localAffinity I should have both recepionsts on the nodes > call to the target actor on their systems. > It might be that all your clients are connected to the same receptionist. How many client do you have? When a client is started it establishes a connection to a receptionist on one node, and then it sticks to that connection. /Patrik > > but maybe only one recepionist is working? > > > On Wednesday, June 18, 2014 11:01:51 AM UTC+3, Patrik Nordwall wrote: >> >> >> >> >> On Mon, Jun 16, 2014 at 7:26 PM, Amit Kalfus <[email protected]> wrote: >> >>> but the client is on a totally different machine, and is in a different >>> system. >>> >>> can it impact the randomality? >>> >> >> yes, localAffinity means that the receptionist will pick a local >> destination (on the server side) if there is one >> >> /Patrik >> >> >>> >>> On Monday, June 16, 2014 3:52:07 PM UTC+3, Akka Team wrote: >>> >>>> Hi Amit, >>>> >>>> >>>> ChannelManagerActorHolder.*getClient()*.tell( >>>>> new ClusterClient.Send(Play.applic >>>>> ation().configuration().getString("additionalConfig.akka.targetActor"), >>>>> msg, true), >>>>> >>>> >>>> In the above line you set the last parameter to "true" which enables >>>> localAffinity. It might be the cause of your problem. >>>> >>>> -Endre >>>> >>>> >>>>> ChannelManagerActorHolder.getClient()); >>>>> >>>>> >>>>> Sorry for the mess, hopes it make sense. >>>>> Thank allot in advance >>>>> >>>>> -- >>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/c >>>>> urrent/additional/faq.html >>>>> >>>>>>>>>> Search the archives: https://groups.google.com/grou >>>>> p/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. >>>>> >>>> >>>> >>>> >>>> -- >>>> Akka Team >>>> Typesafe - The software stack for applications that scale >>>> Blog: letitcrash.com >>>> Twitter: @akkateam >>>> >>> -- >>> >>>>>>>>>> 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. >>> >> >> >> >> -- >> >> Patrik Nordwall >> Typesafe <http://typesafe.com/> - Reactive apps on the JVM >> Twitter: @patriknw >> >> <http://www.scaladays.org/> >> >> -- > >>>>>>>>>> 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. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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.
