Rémi Kowalski created JAMES-3030:
------------------------------------
Summary: 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
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]