1.) Am I correct in saying that if I define a CassandraCqlMapState with a 
parallelism of N, then  N different instances of the Session object will be 
created? If this is correct, does this not go against what is recommended by 
DataStax: 
http://www.datastax.com/dev/blog/4-simple-rules-when-using-the-datastax-drivers-for-cassandra
 where they say that a single Session object should be used across the 
application? Or does that not make sense in the storm context where the state 
could be distributed across different physical nodes?
2.) For all queries, CassandraCqlStateMap prepares a BatchStatement to submit 
to Cassandra. Is this guaranteed to have better performance than executing the 
individual statements asynchronously? Ref: 
https://lostechies.com/ryansvihla/2014/08/28/cassandra-batch-loading-without-the-batch-keyword/.
 
ThanksGireesh

Reply via email to