Ivan Andika created RATIS-2383:
----------------------------------

             Summary: AtomicFileOutputStream should override FilterOutputStream 
batch writes
                 Key: RATIS-2383
                 URL: https://issues.apache.org/jira/browse/RATIS-2383
             Project: Ratis
          Issue Type: Improvement
            Reporter: Ivan Andika


[~XiChen] found that AtomicFileOutputStream write is slow because the `
write(byte b[], int off, int len)` uses FilterOutputStream implementation which 
calls write(byte b) multiple times. 
 
We should override this API and forward it to the underlying OutputStream 
instead.
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to