It includes the latency time interval that you specified in GemFire.properties to batch up the events.
Regards, Wes Williams Sent from mobile phone On Sep 24, 2018, at 12:29 PM, aashish choudhary <aashish.choudha...@gmail.com<mailto:aashish.choudha...@gmail.com>> wrote: Awesome. So queue time includes time it took to prepare and dispatch events? With best regards, Ashish On Mon 24 Sep, 2018, 9:00 PM Real Wes, <thereal...@outlook.com<mailto:thereal...@outlook.com>> wrote: 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 <aashish.choudha...@gmail.com<mailto:aashish.choudha...@gmail.com>> wrote: Is there an effective way to measure latency in Gemfire wan replication? With Best Regards, Ashish