How can I tell how long a round trip to another server takes?
Sometimes the performance of the AXL RADIUS server is questioned particularly when forwarding packets. Clients can be used for ordinary performance measurements. It’s another matter to determine where a bottleneck occurs when forwarding packets. The ProxyInfo class provides a pair of methods that can determine the round trip time. Use the method ProxyInfo.setRoundTripTiming(boolean enable) in the ProxyImpl.changeRequest() with a value of ‘true’ to enable timing of ALL forwarded packets. It can be dynamically disabled by calling the method with the ‘false’ value. The ProxyImpl.changeResponse() can get the timing of packets by using the ProxyInfo.getRoundTripTiming() to get the round trip time in milliseconds. The ProxyInfo.getRoundTripTimingString() gets a human readable time for logging. This information can be quite informative and aids in finger-pointing.