willhains / guicebox

Automatically exported from code.google.com/p/guicebox
2 stars 2 forks source link

Ping and Heartbeat visibility for network debugging #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Got some more advice from a network engineer about pings and heartbeats:

Heartbeats already contain a sequence number, but it is in binary format. 
String format would make 
it easier to capture packets on the network and identify dropped heartbeats.

For this to be useful, all pings and heartbeats need to be logged on both 
sending and receiving 
side. Use class loggers so that this can be turned off if it is not wanted. Or 
alternatively, make ping 
and heartbeat logging options that are off by default but can be turned on.

Original issue reported on code.google.com by willhains on 18 Jun 2008 at 11:26

GoogleCodeExporter commented 9 years ago
Fixed in r152.
Can't do anything about ping requests, since it is all hidden inside the Java 
isReachable() method.

Original comment by willhains on 13 Oct 2009 at 8:01