Re: Cassandra Insert Rate

2015-06-09 Thread SHANKAR REDDY
Thanks for BR for the quick response on this and Appreciate it. That helps for Batch load. If 10 million users are inserting new records at a time ( 1 record for one user ) then how do we increase the same. My sample program assumes request from 10 million records. -Shankar On Tue, Jun 9, 201

Re: Cassandra Insert Rate

2015-06-09 Thread Marcus Olsson
Hi Shankar, I would say: * Prepared statements to avoid sending the whole statement with every query and instead just send the values. * Using session.executeAsync() to improve concurrency. So you would start by creating a prepared statement, something like: PreparedStatement ps = session.pre

Cassandra Insert Rate

2015-06-09 Thread SHANKAR REDDY
Team, I have a sample insert query which loads around 10 million records and found that the insert rate is around 1500 per second. This is very slow. The Source code I am using available at the below location. I am using the very latest version 2.1.6 with default seetings and single node VM mach