You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Kant Kodali <ka...@peernova.com> on 2016/10/19 10:14:27 UTC

quick question

can Cassandra cluster direct or load balance the requests by detecting the
resource usage of a particular node?

Re: quick question

Posted by DuyHai Doan <do...@gmail.com>.
The coordinator can optimize latency for a SELECT by asking data from the
lowest-latency replica using DynamicSnitch. It's not really load balancing
per se but it's the closest idea.

Re: quick question

Posted by Kant Kodali <ka...@peernova.com>.
I mean disk/cpu/network usage but I understand what Dynamic snitch does!



On Wed, Oct 19, 2016 at 3:34 AM, Vladimir Yudovin <vl...@winguzone.com>
wrote:

> What exactly do you mean by "resource usage"? If you mean "data size on
> disk" - no.
> If you mean "current CPU usage" - it depends on query. Modify query should
> be be sent to all nodes owning specific partition key.
> For read queries see http://www.datastax.com/dev/
> blog/dynamic-snitching-in-cassandra-past-present-and-future
>
> Best regards, Vladimir Yudovin,
>
> *Winguzone <https://winguzone.com?from=list> - Hosted Cloud
> CassandraLaunch your cluster in minutes.*
>
>
> ---- On Wed, 19 Oct 2016 06:14:27 -0400*Kant Kodali <kant@peernova.com
> <ka...@peernova.com>>* wrote ----
>
> can Cassandra cluster direct or load balance the requests by detecting the
> resource usage of a particular node?
>
>
>

Re: quick question

Posted by Vladimir Yudovin <vl...@winguzone.com>.
What exactly do you mean by "resource usage"? If you mean "data size on disk" - no.

If you mean "current CPU usage" - it depends on query. Modify query should be be sent to all nodes owning specific partition key.

For read queries see http://www.datastax.com/dev/blog/dynamic-snitching-in-cassandra-past-present-and-future



Best regards, Vladimir Yudovin, 

Winguzone - Hosted Cloud Cassandra
Launch your cluster in minutes.





---- On Wed, 19 Oct 2016 06:14:27 -0400Kant Kodali &lt;kant@peernova.com&gt; wrote ----




can Cassandra cluster direct or load balance the requests by detecting the resource usage of a particular node?