[
https://issues.apache.org/jira/browse/RATIS-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-2383:
------------------------------
Component/s: util
[~XiChen], [~ivanandika] thanks a lot for catching this issue!
> AtomicFileOutputStream should override FilterOutputStream batch writes API
> --------------------------------------------------------------------------
>
> Key: RATIS-2383
> URL: https://issues.apache.org/jira/browse/RATIS-2383
> Project: Ratis
> Issue Type: Improvement
> Components: util
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [~XiChen] found that AtomicFileOutputStream write is slow because the `
> write(byte b[], int off, int len)` uses FilterOutputStream implementation
> which calls write(byte b) for each byte.
>
> We should override this API and forward it to the underlying OutputStream
> instead.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)