Hello,
We are using hector as our java client to communicate with Cassandra. I had a question around the behavior of the SliceQuery and Multisliceget , I started tracing the call hierarchy and I found out that both these methods call the Read method in the StorageProxy.java class. So my question is , given a scenario where I need to fetch information for multiple keys, should I use the multisliceget or should I develop multithreaded code to fetch data in a parallel fashion to speed up the query time. Looking at the fetchRows method in the StorageProxy.java, it appears that it uses a for-loop to iterate over the keylist and calls the messagingservice to read the data.
I would appreciate your thoughts and
feedback on this.
Thanks
Gv