[ 
https://issues.apache.org/jira/browse/JAMES-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028725#comment-17028725
 ] 

René Cordier commented on JAMES-3030:
-------------------------------------

https://github.com/linagora/james-project/pull/3047 has been merged

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to