james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-2095) Optimize IO upon saving Attachment in Cassandra
Date Tue, 25 Jul 2017 07:51:00 GMT

     [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message