Hi there, firstly - remoting does not "like" such large messages, it's effectively "cloging the pipe". You should rather try to send more smaller messages to keep the system responsive - sending a large message will take more time to serially serialize it etc.
Concerning the speed... You're using the default java serialization - it's slow. If you care about performance - as it looks you do - you should serialize the messages using Kryo, ProtoBuf or CapNproto etc. See here http://doc.akka.io/docs/akka/snapshot/scala/serialization.html On Thu, Nov 20, 2014 at 8:39 AM, neeraj negi <[email protected]> wrote: > Hi, > > I have two node system one running on 2551 port and other running on 2552 > port on single machine right now. > > I am sending object containing 10000 records from 2551 to 2552 and the > payload size is less then 1 Mb and it's taking around 60 to 70 millisecond > for transfer from one node to another > > and if I increase the records i.e. 70000 and payload becomes around 6 Mb > then it start taking 300 to 400 ms for transfer from one node to another > > > my application conf is:- > > akka { > > event-handlers = ["akka.event.slf4j.Slf4jEventHandler"] > loggers = ["akka.event.slf4j.Slf4jLogger"] > loglevel = "debug" > > actor { > provider = "akka.cluster.ClusterActorRefProvider" > } > remote { > log-remote-lifecycle-events = off > netty.tcp { > hostname = "127.0.0.1" > port = 0 > maximum-frame-size = 52428800 > send-buffer-size = 52428800 > receive-buffer-size = 52428800 > } > } > > cluster { > seed-nodes = [ > "akka.tcp://[email protected]:2551", > "akka.tcp://[email protected]:2552"] > > auto-down-unreachable-after = 300s > } > > } > > How can i increase my transfer speed? > am i missing something in Application.conf? > > > > > -- > >>>>>>>>>> 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. > -- 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.
