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 "Luc DUZAN (JIRA)" <se...@james.apache.org> on 2017/07/10 12:02:00 UTC
[jira] [Created] (JAMES-2095) Optimize IO upon saving Attachment in
Cassandra
Luc DUZAN created JAMES-2095:
--------------------------------
Summary: 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