cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anishek Agarwal <anis...@gmail.com>
Subject Re: Throttle Heavy Read / Write Loads
Date Fri, 05 Jun 2015 04:37:20 GMT
may be just increase the read and write timeouts at cassandra currently at
5 sec i think. i think the datastax java client driver provides ability to
say how many max requests per connection are to be sent, you can try and
lower that to limit excessive requests along with limiting the number of
connections a client can do.

just out of curiosity how long are GC pauses for you both ParNew and CMS
and at what intervals are you seeing the GC happening. I just recently
spent time to tune it and would be good to know if its working well.

thanks
anishek

On Fri, Jun 5, 2015 at 12:03 AM, Anuj Wadehra <anujw_2003@yahoo.co.in>
wrote:

> We are using Cassandra 2.0.14 with Hector as client ( will be gradually
> moving to CQL Driver ).
>
> Often we see that heavy read and write loads lead to Cassandra timeouts
> and unpredictable results due to gc pauses and request timeouts. We need to
> know the best way to throttle read and write load on Cassandra such that
> even if heavy operations are slower they complete gracefully. This will
> also shield us against misbehaving clients.
>
> I was thinking of limiting rpc connections via rpc_max_threads property
> and implementing connection pool at client side.
>
> I would appreciate if you could please share your suggestions on the above
> mentioned approach or share any alternatives to the approach.
>
> Thanks
> Anuj Wadehra
>
>

Mime
View raw message