Re: Cluster with 3 nodes - Slow performance

2018-03-02 Thread Javier Pareja
Thank you Jürgen, The default consistency in the library in already ONE. I tried setting it anyways but it made no difference. Hopefully it is a configuration issue, that would be very good news!! Do you have any past/present experience with large counter tables? F Javier Pareja On Fri, Mar 2, 2

Re: Cluster with 3 nodes - Slow performance

2018-03-02 Thread Javier Pareja
Hi Alain, Thank you for your reply. I have run the same test but writing into a non-counter table equivalent to the counter one. The rate in this case is around 160k writes/second. I am not sure if I should be expecting much more in a 3 nodes cluster. In terms of I/O is not much really and the sys

Re: Cluster with 3 nodes - Slow performance

2018-03-02 Thread Alain RODRIGUEZ
Hi Javier, The only bottleneck in the writes as far as I understand it is the commit > log. > Sadly this is somewhat wrong, specially in your case. CPU, network limits can be reached, and other issues, can happen. Plus in your case, using counters, there is way more things involved. The 2 main t

Re: Cluster with 3 nodes - Slow performance

2018-03-02 Thread Jürgen Albersdorfer
As far as I have seen, you have not configured outbound consistency which defaults to Local_Quorum. Try with ONE. Then there might still be a configurstion issue. Concurrent compactors maybe or ressource contention on cpu with the Test Code. Von meinem iPhone gesendet > Am 02.03.2018 um 18:36

Re: Cluster with 3 nodes - Slow performance

2018-03-02 Thread Javier Pareja
Hi again, Two more thoughts with respect to my question: - I have configured all 3 nodes to act as seeds but I don't think this affects write performance. - The hints_directory and the saved_caches_directory use the same drive as the commitlog_directory. The data is in the other 7 drives as I expl

Cluster with 3 nodes - Slow performance

2018-03-02 Thread Javier Pareja
Hello everyone, I have configured a Cassandra cluster with 3 nodes, however I am not getting the write speed that I was expecting. I have tested against a counter table because it is the bottleneck of the system. So with the system iddle I run the attached sample code (very simple async writes wit