[ 
https://issues.apache.org/jira/browse/JAMES-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Duprat closed JAMES-2095.
---------------------------------

> Optimize IO upon saving Attachment in Cassandra
> -----------------------------------------------
>
>                 Key: JAMES-2095
>                 URL: https://issues.apache.org/jira/browse/JAMES-2095
>             Project: James Server
>          Issue Type: Improvement
>          Components: cassandra
>            Reporter: Luc DUZAN
>
> In CassandraAttachmentMapper::asyncStoreAttachment:
>  - We wrap a stream in an array without specifying the size while we know it 
> -> GC and many copies and reallocations
>  - We generate a byte array from a stream from a byte array
> This can be easily optimised.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to