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

Benoit Perroud commented on DIRECTMEMORY-64:
--------------------------------------------

https://issues.apache.org/jira/browse/DIRECTMEMORY-37 provide a way to request 
ByteBuffer and write directly into it, bypassing the byte[] representation.
An idea here is to use this mechanism to store the file in as much BB as 
needed, depending the unknown size of the "file" to store.
                
> Serializer should directly write
> --------------------------------
>
>                 Key: DIRECTMEMORY-64
>                 URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-64
>             Project: Apache DirectMemory
>          Issue Type: Wish
>            Reporter: Daniel Manzke
>
> The serializers are returning a byte[] which means, the value has to fit into 
> the memory. This also means, that DM can't be used for a file storage. The 
> serializers should directly write the object into the storage location.
> This would allow to use stuff like nio and other things.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to