cgenrich opened a new issue, #10325:
URL: https://github.com/apache/pinot/issues/10325

   Future.get() blocks threads and causes performance issues for users of the 
java client library or requires an additional watcher thread checking for 
completions and issuing callbacks.  The underlying HTTP client provides 
non-blocking IO and a ListenableFuture that is easily modified into a 
CompletableFuture.
   
   Using callbacks users of the library will see higher performance without any 
noticeable drawbacks.
   
   CompletableFuture<T> implements Future<T> so any users of the library can 
continue to do so without changing their code should they choose to do so.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to