Hey everyone,
I would like to transfer large messages (>500mb each) between remote
actors. The network bandwidth allows for very high transmission
speeds, therefore I'd like to tweak the tcp send and receive buffer
sizes. Can anyone give me a hint where and how to specify those buffer
sizes? I know that netty supports the specification of tcp send and
receive buffers, but I can't find a matching property in the akka
reference-configuration (
http://doc.akka.io/docs/akka/2.0.1/java/
remoting.html further below).
I wrote a simple dummy-application, with the akka-configuration as
follows:
// akka system
Config config = ConfigFactory.parseString("akka.loglevel = DEBUG \n"
+ "akka.actor.debug.lifecycle = on \n"
+ "akka.actor.provider = \"akka.remote.RemoteActorRefProvider\"
\n"
+ "akka.remote.transport =
\"akka.remote.netty.NettyRemoteTransport\" \n"
+ "akka.remote.netty.hostname = \"my.ip.here\" \n"
+ "akka.remote.netty.port = \"1337\" \n"
+ "akka.remote.netty.message-frame-size = 8192");
ActorSystem system = ActorSystem.create("test", config);
// launch actor
ActorRef dummyActor = system.actorOf(new Props(DummyActor.class),
"dummyActor");
So, does anyone know an option like
"akka.remote.netty.tcpSendBufferSize ..."?
Thanks for your time!
Hendrik Schöneberg