"Is there a recommended way to perform lots of INSERT operations in a row
when using the DataStax Java driver?"  --> Yes, use UNLOGGED batches. More
info here:
http://www.datastax.com/documentation/cql/3.0/webhelp/index.html#cql/cql_reference/batch_r.html


On Sat, Feb 8, 2014 at 10:19 PM, Clint Kelly <clint.ke...@gmail.com> wrote:

> Folks,
>
> Is there a recommended way to perform lots of INSERT operations in a
> row when using the DataStax Java driver?
>
> I notice that the RecordWriter for the CQL3 Hadoop implementation in
> Cassandra does some per-data-node buffering of CQL3 queries.  The
> DataStax Java driver, on the other hand, supports asynchronous query
> execution.
>
> In a situation in which we are doing lots of and lots of writes (like
> a RecordWriter for Hadoop), do we need to do any buffering or can we
> just fire away session.executeAsync(...) calls as soon as they are
> ready?
>
> Thanks!
>
> Best regards,
> Clint
>

Reply via email to