Ticket #1603
<https://www.assembla.com/spaces/akka/tickets/1603-optimize-remote-send-in#/activity/ticket:>
indicated
the remote send could be mapped to a local send.
The ticket is 2 years old.
On Friday, July 11, 2014 1:55:08 PM UTC-5, Jonathan wrote:
>
> If remoting is enabled with configuration like:
>
>
> 1. akka {
> 2. actor {
> 3. provider = "akka.remote.RemoteActorRefProvider"
> 4. }
> 5. remote {
> 6. enabled-transports = ["akka.remote.netty.tcp"]
> 7. netty.tcp {
> 8. hostname = "127.0.0.1"
> 9. port = 2552
> 10. }
> 11. }
> 12. }
>
>
> Is it possible to avoid serialization during message sends (tell and ask)
> when the source and destination actors reside on the same JVM? I am
> currently controlling the location of actors with code like:
>
> Deploy deploy = NodeUtils.createDeploy("akka.tcp://[email protected]:55555")
> ActorRef actor1 =
> context.actorOf(NodeInitializer.mkProps().withDeploy(deploy), "actor1")
>
> Since I am doing this I know which actors are on the same JVM and I would
> like to avoid the serialization overhead because it is unnecessary in some
> cases. Does Akka automatically avoid serialization when possible? Is
> there a way to configure Akka to not serialize on specific tells/asks or
> specific message types?
>
--
>>>>>>>>>> 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.