Thanks, Konrad,
Are there other akka data/attributes attached to a remote sending message? Or just? serialized(msg) + actorRef Which part of akka source code I can check for answer? Besides, is there LOG flags I can enable so that I can check which serilization framework is in effect? In my experiment, I cannot explain half network bandwitdh usage with akka remote messaging. My message throughput is 60MB/s, but the network bandwidth is 140MB/s. How can I trouble shooting this. On Wednesday, August 6, 2014 7:53:39 PM UTC+8, Konrad Malawski wrote: > > Hello Sean, > actual overhead in terms of how many bytes – depends on your serialiser. > > 1) Yes, a message includes the sender. Not much optimisations in there > currently, although we have nice ideas on what we can do within a cluster > (short "handles" instead of full addresses), > 2) Refer to: > http://doc.akka.io/docs/akka/snapshot/scala/serialization.html Strings > are a byte array, the envelope is protobuf (you can find it in > `akka-remote`), other kinds of payload is whatever you configured – > defaults to java serialisation. > 3) Of the entire message? It depends on your serialiser. > > Hope this helps, happy hakking :-) > > > On Wed, Aug 6, 2014 at 1:43 PM, Sean Zhong <[email protected] > <javascript:>> wrote: > >> Suppose I want to transfer a msg to another machine >> >> otherActor ! “hello" >> >> what is the wire message overhead? >> >> 1. the wire messge need to have information about ActorRef, will the >> ActorRef be attached for every message, or will it be cached on target >> machine, so the sender only need to attach an Id? >> 2. How string "hello" is serialized on the wire, with java serialization? >> or protobuf? Can this be configured? >> 3. What is other overhead for this message? >> >> >> >> >> >> -- >> >>>>>>>>>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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 > hAkker @ 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.
