Re: Test on load balancing policy with datastax java driver

2015-10-04 Thread Jun Wu
7;m not sure if I understand your question correctly, but existing policies > can be combined by chaining them, as in `new TokenAwarePolicy(new > DCAwareRoundRobinPolicy())`. > > -- > > Olivier Michallat > > Driver & tools engineer, DataStax > > On Tue, Sep 22, 20

Test on load balancing policy with datastax java driver

2015-09-22 Thread Jun Wu
Dear All, I’m doing some experiment on load balancing policy of Cassandra (version 2.1.8) and I’m using datastax java driver (version 2.1.7). Basically, I want test the reading and writing latency or other performance metrics (I’m not sure which more could be available. If possible, coul

Performance degradation in cassandra test

2015-09-22 Thread Jun Wu
Dear All, I was doing some test on datastax java driver with Eclipse on Mac Pro. Basically, in the eclipse, I was using prepared and batch statement to write (id, name), where id ranges from 1 to 100 and names are student1 - student1(according to the range of id). A