You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geode.apache.org by aashish choudhary <aa...@gmail.com> on 2018/09/23 14:33:37 UTC

Geode wan replication latency

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

With Best Regards,
Ashish

Re: Geode wan replication latency

Posted by Real Wes <th...@outlook.com>.
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 <aa...@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, <Th...@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 <aa...@gmail.com>> wrote:

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

With Best Regards,
Ashish


Re: Geode wan replication latency

Posted by aashish choudhary <aa...@gmail.com>.
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, <Th...@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.choudhary1@gmail.com> wrote:
>
> Is there an effective way to measure latency in Gemfire wan replication?
>
> With Best Regards,
> Ashish
>
>
>

Re: Geode wan replication latency

Posted by Real Wes <Th...@outlook.com>.
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 <aa...@gmail.com>> wrote:

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

With Best Regards,
Ashish