You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by al...@ceid.upatras.gr on 2011/09/28 17:54:54 UTC

Grouping mutations

I am reading mutate(), and I see that it simply loops through the list of
mutations and sends them off individually. Consider a scenario where I
call mutate() with a list of thousands of mutations, most of them going to
a few nodes.

Is there a way to group them into a few messages per node? If there is, I
can't find it, but I can't imagine why it isn't implemented that way, I
feel I am missing something. Please explain!

Alexander Altanis



Re: Grouping mutations

Posted by Jonathan Ellis <jb...@gmail.com>.
Nope, you're right, it's all individual mutations past the StorageProxy level.

Interested to see your results if you experiment with grouping things up.

On Wed, Sep 28, 2011 at 10:54 AM,  <al...@ceid.upatras.gr> wrote:
> I am reading mutate(), and I see that it simply loops through the list of
> mutations and sends them off individually. Consider a scenario where I
> call mutate() with a list of thousands of mutations, most of them going to
> a few nodes.
>
> Is there a way to group them into a few messages per node? If there is, I
> can't find it, but I can't imagine why it isn't implemented that way, I
> feel I am missing something. Please explain!
>
> Alexander Altanis
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com