Re: Async queries

2017-10-02 Thread Charulata Sharma (charshar)
7 at 5:48 PM To: "user@cassandra.apache.org" <user@cassandra.apache.org> Subject: Re: Async queries Hi Charu, Since the driver uses Guava futures, you can use some of the methods in Futures<https://google.github.io/guava/releases/19.0/api/docs/com/google/common/util/concurrent/F

Re: Async queries

2017-10-02 Thread Andy Tolbert
Hi Charu, Since the driver uses Guava futures, you can use some of the methods in Futures to add listeners, callbacks and transformers that are invoked when the future completes without blocking

Async queries

2017-10-02 Thread Charulata Sharma (charshar)
Hi , We are observing some performance issues when executing a large number of read/write queries. We use executeAsync query for most of our read and write requests and then future.getUninterruptibly() methods before returning to the client application. Code snippet is: (In the bind portion