File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes java in a high latency network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java in a high latency network" Watch "java in a high latency network" New topic

java in a high latency network

xeon costa

Joined: May 10, 2011
Posts: 15

I am using a program that transfer files between the hosts. My problem is that the network between these hosts have a high latency (> 1sec), and sometimes my programs launch a error of " No route to host; ".

I think this problem happens because of the latency. There is a way to configure the JVM for networks with high latency so that the time to try to connect to a remote host is longer?


Ron McLeod
Ranch Hand

Joined: Feb 12, 2013
Posts: 521

It sounds more like a routing issue rather than a latency issue. It would be good to run packet sniffer such as Wireshark and see what is actually happening (or not) on the wire.
I agree. Here's the link:
subject: java in a high latency network
It's not a secret anymore!