Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I tell how long a round trip to another server takes?

round server takes trip
0
Posted

How can I tell how long a round trip to another server takes?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.