jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1300) spi2dav Improve performance for large binary properties
Date Thu, 21 Feb 2008 10:35:19 GMT

    [ https://issues.apache.org/jira/browse/JCR-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571000#action_12571000

angela commented on JCR-1300:

> I'll try it and will report my findings here. 

there is 1 thing i know is missing: proper handling of failures during value-loading (which
is postponed)... currently this results in runtime exception which is definitely wrong. what
should happen is an 'InvalidItemStateException' or 'RepositoryException' on the jcr-2-spi
level... but as said... i didn't have time to closely look at that one... a 'null' return
value would be one possibility. but currently jcr2spi doesn't handle that .

> spi2dav Improve performance for large binary properties
> -------------------------------------------------------
>                 Key: JCR-1300
>                 URL: https://issues.apache.org/jira/browse/JCR-1300
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: contrib, jackrabbit-jcr-server
>            Reporter: Jozef Wagner
>            Assignee: angela
>         Attachments: JCR-1300_jcr-server.patch, JCR-1300_spi2dav.patch
> Sending large binary properties over spi2dav is slow and requires a lot of heap space
in both client and server.
> One problematic part is base64 conversion of the property value.
> On the contrary, using 'normal' webdav interface (/repository/default/ instead of /server)
for uploading a file (through traditional webdav client) it is pretty fast and don't have
such impact on heap space.
> Some suggestions from the previous discussion:
>  - avoid temporary copies of the data, and persist large objects as early as possible.

>  - transfer large objects in blocks from the Jackrabbit SPI client to the server (and
>  - make usage of the global data store (JCR-926). 
>  - straight forward PUT for single-valued properties
> Link to discussion: http://www.mail-archive.com/dev@jackrabbit.apache.org/msg09481.html

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message