bharatviswa504 edited a comment on issue #578: HDDS-3053. Decrease the number 
of the chunk writer threads
URL: https://github.com/apache/hadoop-ozone/pull/578#issuecomment-600791255
 
 
   I want to add one point here.
   The same chunkExecutor threads are used for readStateMachineData. This will 
be used by the leader when sending append entry logs to followers. So, reducing 
this will make request also processing slow
   
   ```
           CompletableFuture.supplyAsync(() -> {
             try {
               future.complete(
                   getCachedStateMachineData(entry.getIndex(), entry.getTerm(),
                       requestProto));
             } catch (IOException e) {
               metrics.incNumReadStateMachineFails();
               future.completeExceptionally(e);
             }
             return future;
           }, getChunkExecutor(requestProto.getWriteChunk()));
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to