You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2020/02/03 07:34:00 UTC
[jira] [Closed] (JAMES-3030) Improve Flux backed input stream read
speed
[ https://issues.apache.org/jira/browse/JAMES-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
René Cordier closed JAMES-3030.
-------------------------------
Fix Version/s: 3.5.0
Resolution: Done
> Improve Flux backed input stream read speed
> -------------------------------------------
>
> Key: JAMES-3030
> URL: https://issues.apache.org/jira/browse/JAMES-3030
> Project: James Server
> Issue Type: Improvement
> Affects Versions: 3.5.0
> Reporter: Rémi Kowalski
> Priority: Major
> Fix For: 3.5.0
>
>
> The read speed of a Flux backed input stream obtained using ReactorUtils.toInputStream is slow because in the underlying InputStream implementation only the byte by byte read methode is implemented.
>
> The proposed solution is to also implement the inputStream read method :
> {color:#000080}public int {color}read({color:#000080}byte{color}[] b, {color:#000080}int {color}off, {color:#000080}int {color}len) {color:#000080}throws {color}IOException
>
> which can read several bytes at the same time
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org