Re: Drivers performance

2014-12-19 Thread Ryan Svihla
Better question for the java driver mailing list, but I see a number of problems in your Datastax java driver code, and without knowing the way Astyanax handles caching of prepared statements I can tell you 1. You're re repreparing a statement on _every_ iteration, and these are not cached b

Drivers performance

2014-12-19 Thread Svec, Michal
https://github.com/michalsvec/astyanax-datastax-benchmark It was tested against Cassandra 1.2 and 2.1. Testing conditions were naive (localhost, single node, ...) but still the difference is huge. 10 000 iterations: * Astyanax:2734 ms * Astyanax prepared:1997 ms * Data