Hi Rob, it will be interesting to see which walls you hit and how hard they prove to be—and whether the result actually improves performance in typical scenarios. In any case, you’ll want to look at the other sub-projects as well to check out ClusterActorRefProvider and RemoteActorRefProvider (and the kind of ActorRefs used by the latter).
Regards, Roland 20 jan 2014 kl. 06:05 skrev Rob Withers <[email protected]>: > Is the remote implementation in that file as well? If it is like > Elib/murmur, then the sender side has a special, remote handler, while the > receiver side has a local ref. > > Robert > > On Jan 19, 2014, at 4:44 PM, Konrad Malawski <[email protected]> wrote: > >> Ah, and the impl itself depends on if it’s an remote or local actor etc. >> But it’s also in this file, for example for LocalActorRef: >> https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/ActorRef.scala#L384 >> >> -- >> Cheers, >> Konrad Malawski >> blog.project13.pl | java.pl | geecon.org | gdgkrakow.pl | krakowscala.pl >> >> >> 2014/1/19 Konrad Malawski <[email protected]> >> It’s in ActorRef.scala, but in a special trait >> https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/ActorRef.scala#L178 >> >> trait ScalaActorRef { ref: ActorRef ⇒ >> def !(message: Any)(implicit sender: ActorRef = Actor.noSender): Unit >> } >> This trick is used in order to not pollute the Java API with methods like !. >> There is an implicit available in an Actor from ActorRef to ScalaActorRef, >> >> >> so you have this method available only in Scala code. >> >> -- >> Konrad >> On Sunday, 19 January 2014 at 22:49, Rob Withers wrote: >> >>> So that I may look into adapting different semantics. I did not find it in >>> ActorRef.scala, so I am grasping. >>> >>> thanks, >>> - robert >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>>>>>>>>> Read the docs: http://akka.io/docs/ >>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>> >>>>>>>>>> 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/groups/opt_out. >> >> >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >> >>>>>>>>>> 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/groups/opt_out. > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> 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/groups/opt_out. Dr. Roland Kuhn Akka Tech Lead Typesafe – Reactive apps on the JVM. twitter: @rolandkuhn -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> 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/groups/opt_out.
