keith-turner commented on issue #967: Prototype adding async get methods to Transaction URL: https://github.com/apache/fluo/issues/967#issuecomment-344298140 @jkosh44 there are two problems with the `supplyAsync(() -> gets(row, column))` approach. First, the task will execute in a thread pool that is shared JVM wide. The `gets` operation does network I/O. Executing a I/O task in this JVM wide thread pool could block other task (like parallel stream operations and parallel sort operations). Second, each `gets(row, column)` method will make a remote procedure call (RPC) to get data from an Accumulo server. If all of the async calls are batched into a single `gets(Collection<RowColumn>) call, then this may do less RPC depending on the number of servers the data is on.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
