You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by ch...@wipro.com on 2016/02/26 14:53:01 UTC

Cassandra Multi DC (Active-Active) Setup - Measuring latency & throughput performance

Hi,


Are there any links/resources which describe performance measurement (latency & throughput) for a Cassandra Multi DC Active-Active setup across a WAN network (20Gbps bandwidth) with 5 nodes in each DC.


Basically, I would like to know how to measure latency of writes when data is replicated across DC (local/remote) in active-active cluster setup


Regards, Chandra KR

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Re: Cassandra Multi DC (Active-Active) Setup - Measuring latency & throughput performance

Posted by ch...@wipro.com.
Thanks Bryan for the inputs. One of the tests that I'm trying to do is fire write requests in one DC and simultaneously do read requests from other DC using cassandra-stress (custom schema option). While reading from the other DC, I'm expecting cassandra-stress to throw some error for no data found scenario atleast for the first few milli-seconds until the cross data center replication is successful.


Likewise, for writes across both DC, does Cassandra have any function similar to Oracle SYSDATE/SYSTIMESTAMP which can be used to measure the time difference of records across data centers.


Thanks & Regards, Chandra Sekar KR
________________________________
From: Bryan Cheng <br...@blockcypher.com>
Sent: Saturday, February 27, 2016 05:01
To: user@cassandra.apache.org
Subject: Re: Cassandra Multi DC (Active-Active) Setup - Measuring latency & throughput performance

Hi Chandra,

For write latency, etc. the tools are still largely the same set of tools you'd use for single-DC- stuff like tracing, cfhistograms, cassandra-stress come to mind. The exact results are going to differ based on your consistency tuning (can you get away with LOCAL_QUORUM vs QUORUM?) and read/write patterns.

What other data are you looking to gather?

On Fri, Feb 26, 2016 at 5:53 AM, <ch...@wipro.com>> wrote:

Hi,


Are there any links/resources which describe performance measurement (latency & throughput) for a Cassandra Multi DC Active-Active setup across a WAN network (20Gbps bandwidth) with 5 nodes in each DC.


Basically, I would like to know how to measure latency of writes when data is replicated across DC (local/remote) in active-active cluster setup


Regards, Chandra KR

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com<http://www.wipro.com>

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Re: Cassandra Multi DC (Active-Active) Setup - Measuring latency & throughput performance

Posted by Bryan Cheng <br...@blockcypher.com>.
Hi Chandra,

For write latency, etc. the tools are still largely the same set of tools
you'd use for single-DC- stuff like tracing, cfhistograms, cassandra-stress
come to mind. The exact results are going to differ based on your
consistency tuning (can you get away with LOCAL_QUORUM vs QUORUM?) and
read/write patterns.

What other data are you looking to gather?

On Fri, Feb 26, 2016 at 5:53 AM, <ch...@wipro.com> wrote:

> Hi,
>
>
> Are there any links/resources which describe performance measurement
> (latency & throughput) for a Cassandra Multi DC Active-Active setup across
> a WAN network (20Gbps bandwidth) with 5 nodes in each DC.
>
>
> Basically, I would like to know how to measure latency of writes when data
> is replicated across DC (local/remote) in active-active cluster setup
>
>
> Regards, Chandra KR
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com
>