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 we have some GSON object conversions. List<ResultSetFuture> futures = new ArrayList<>(); BoundStatement bind ; For(loop condition) { bind =PreparedStatement.bind(….) //The PreparedStatement is prepared outside the loop. resultSetFuture = SESSION.executeAsync(bind); futures.add(resultSetFu ture); } for(ResultSetFuture future: futures){ future.getUninterruptibly(); } Reading through the documents , I found that although the queries are executed in an async fashion, the future. getUninterruptibly(), is a blocking call. I am trying to implement a callable future, but wanted to know from the community if there is any better way of doing this and if changing to callable future will help. Thanks, Charu