Adding a new command problem

2014-10-09 Thread Dong Dai
Hello, all, I am trying to add a new command into Cassandra. According to my knowledge, to add a new command, i only need to add the new MessagingService.verb, specify the stage corresponding to this verb, setup the serializer/deserializer, and specify a receiveVerbHandler to process that

Performance Difference between Batch Insert and Bulk Load

2014-11-30 Thread Dong Dai
Hi, all, I have a performance question about the batch insert and bulk load. According to the documents, to import large volume of data into Cassandra, Batch Insert and Bulk Load can both be an option. Using batch insert is pretty straightforwards, but there have not been an ‘official’ way to

Re: Performance Difference between Batch Insert and Bulk Load

2014-12-01 Thread Dong Dai
provides a way to make > more than one statements into an atomic unit and bulk loader provides the > ability to bulk load external data into a cluster. Two are totally different > things and cannot be compared. > > Thanks > -Raj > > On 01-Dec-2014, at 4:32 am, Dong Da

Re: Performance Difference between Batch Insert and Bulk Load

2014-12-01 Thread Dong Dai
is if they're within a certain reasonable size > and they're all to the same partition. > > On Mon, Dec 1, 2014 at 9:43 AM, Dong Dai wrote: > >> Thank a lot for the reply, Raj, >> >> I understand they are different. But if we define a Batch with UNLOGGED, >

Re: Performance Difference between Batch Insert and Bulk Load

2014-12-02 Thread Dong Dai
rdinator will likely not own all the data in >> a batch" >> >> should just be >> >> "That's all correct but what you're not accounting for is the coordinator >> will likely not own all the data in a batch" >> >> Token awareness has