Re: Test on load balancing policy with datastax java driver

2015-10-04 Thread Jun Wu
Hello Olivier, Thank you so much for your reply. However, the new TokenAwarePolicy wrapped with DCAwareRoundRobin definitely works. Also wrapping with RoundRobin policy works. However, when I use LatencyAwarePolicy wrapping with DCAwareRoundRobin and RoundRobin. It shows error. Exception i

Re: Test on load balancing policy with datastax java driver

2015-10-02 Thread Olivier Michallat
Hi, I'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, 2015 at 7:15 PM, Jun Wu wrote: > Dear All, > >

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