Yes.  See: 
https://github.com/owebeewan/wan-perftest/blob/master/gateway/src/main/java/io/pivotal/gateway/filter/TimingGatewayEventFilter.java

There are two types of latency in the WAN gateway: 1) queue time and 2) 
transmit time.

Barry Oglesby provided a class that captures both metrics and I wrote a 
performance test project that uses it. Transmit time is defined as the send 
time AND the ack time.


You define this event filter as follows: 
https://github.com/owebeewan/wan-perftest/blob/46f8c76e96e06265215f460dff5aeaf1a07bee49/DataCenter1/cluster.sh#L25

You define the jar in the server startup 
https://github.com/owebeewan/wan-perftest/blob/46f8c76e96e06265215f460dff5aeaf1a07bee49/DataCenter1/startall.sh#L10

Source was Barry Oglesby.


Wes Williams

On Sep 23, 2018, at 10:33 AM, aashish choudhary 
<[email protected]<mailto:[email protected]>> wrote:

Is there an effective way to measure latency in Gemfire wan replication?

With Best Regards,
Ashish

Reply via email to