You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jay Svc <ja...@gmail.com> on 2013/01/21 16:27:42 UTC

Concurrent write performance

Folks,


I would like to write(insert or update) to a single row in a column family.
I have concurrent requests which will write to a single row. Do we see any
performance implications because of concurrent writes to a single row where
comparator has to sort the columns at the same time?


Please share your thoughts.


Thanks,

Jay

Re: Concurrent write performance

Posted by aaron morton <aa...@thelastpickle.com>.
Background see my talk here http://www.datastax.com/events/cassandrasummit2012/presentations

Mutations to a row are isolated. In practice this means that simultaneous writes to the same row are possible, however the first write thread to complete wins and the other threads start their work again. 

So if you have one very hot row you will see less throughput as the writers will have to do some re-work. I did a little test here http://www.slideshare.net/aaronmorton/cassandra-sf-2012-technical-deep-dive-query-performance on slide 30. 

>  sort the columns at the same time?
Don;t worry about sorting. 

Cheers


-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 22/01/2013, at 4:40 AM, Viktor Jevdokimov <Vi...@adform.com> wrote:

> Do you experience any performance problems?
>  
> This will be the last thing to look at.
>  
>  
> Best regards / Pagarbiai
> Viktor Jevdokimov
> Senior Developer
> 
> Email: Viktor.Jevdokimov@adform.com
> Phone: +370 5 212 3063, Fax +370 5 261 0453
> J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
> Follow us on Twitter: @adforminsider
> Take a ride with Adform's Rich Media Suite
> <signature-logo7f56.png>
> <signature-best-employer-logo42f0.png>
> 
> Disclaimer: The information contained in this message and attachments is intended solely for the attention and use of the named addressee and may be confidential. If you are not the intended recipient, you are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies.
> 
> From: Jay Svc [mailto:jaytechgeek@gmail.com] 
> Sent: Monday, January 21, 2013 17:28
> To: user@cassandra.apache.org
> Subject: Concurrent write performance
>  
> Folks,
>  
> I would like to write(insert or update) to a single row in a column family. I have concurrent requests which will write to a single row. Do we see any performance implications because of concurrent writes to a single row where comparator has to sort the columns at the same time?
>  
> Please share your thoughts.
>  
> Thanks,
> Jay
> 


RE: Concurrent write performance

Posted by Viktor Jevdokimov <Vi...@adform.com>.
Do you experience any performance problems?

This will be the last thing to look at.


Best regards / Pagarbiai
Viktor Jevdokimov
Senior Developer

Email: Viktor.Jevdokimov@adform.com<ma...@adform.com>
Phone: +370 5 212 3063, Fax +370 5 261 0453
J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
Follow us on Twitter: @adforminsider<http://twitter.com/#!/adforminsider>
Take a ride with Adform's Rich Media Suite<http://vimeo.com/adform/richmedia>

[Adform News] <http://www.adform.com>
[Adform awarded the Best Employer 2012] <http://www.adform.com/site/blog/adform/adform-takes-top-spot-in-best-employer-survey/>


Disclaimer: The information contained in this message and attachments is intended solely for the attention and use of the named addressee and may be confidential. If you are not the intended recipient, you are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies.

From: Jay Svc [mailto:jaytechgeek@gmail.com]
Sent: Monday, January 21, 2013 17:28
To: user@cassandra.apache.org
Subject: Concurrent write performance


Folks,



I would like to write(insert or update) to a single row in a column family. I have concurrent requests which will write to a single row. Do we see any performance implications because of concurrent writes to a single row where comparator has to sort the columns at the same time?



Please share your thoughts.



Thanks,

Jay