I'm using Scala's remote actors, but round-trip time (even of a trivial message) is 80ms, presumably due to underlying socket not having the TCP/IP Nagle algorithm disabled (also known as TCP_NODELAY), or at least that's what someone with some experience with Java RMI informs me.
All I'm doing in the client to get a link to the remote actor is
val server=select(Node("127.0.0.1",12111),'server)
Is there some way to get at the underlying socket and invoke java.net.Socket.setTcpNoDelay()
on it ?