cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Yen <yulin...@gmail.com>
Subject Re: batch mutates & throughput
Date Mon, 08 Aug 2011 02:51:27 GMT
Maybe you could try to adjust the setting "cassandraThriftSocketTimeout" of
hector. https://github.com/rantav/hector/wiki/User-Guide


On Mon, Aug 8, 2011 at 6:54 AM, Philippe <watcherfr@gmail.com> wrote:

> Quick followup.
> I have pushed the RPC timeout to 30s. Using Hector, I'm doing 1 thread
> doing batches of 10 mutates at a time so that's even slower than when I was
> doing 16 threads in parallel doing non-batched mutations.
> After a couple hundred execute() calls, I get a timeout for every node; I
> have a 15 second grace period between retries. tpstats indicate no pendings
> on any of the nodes. I never recover from that
>
> I then set the batch size to one and it seems to work a lot better. The
> only difference I note is that the Mutator.execute() method returns a result
> than sometimes has a null host and 0 microsecond time in the batch sizes of
> ten but never in batch sizes of 1.
>
>
> I'm stumped ! Any ideas ?
>
> Thanks
>

Mime
View raw message