Streming big objects
--------------------

                 Key: DIRSERVER-731
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-731
             Project: Directory ApacheDS
          Issue Type: Improvement
            Reporter: Emmanuel Lecharny
            Priority: Critical


We really need to implement a streming of big objects, like JpegPhoto, 
otherwise the server can be killed trying to manage them.

The problem is that they are stored entirely in memory, and this is not an 
option for megabytes of data in a JVM. We should find a way to work with MINA 
to send bytes on the fly (for instance by packets of 8kb). The very same when 
we receive huge data : we should store them somwhere on the disk instead of 
creating a byte[] large enough to store the data.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to