You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Shashank Gupta (JIRA)" <ji...@apache.org> on 2013/09/02 11:30:53 UTC

[jira] [Comment Edited] (SLING-2707) Support of chunked file upload into Sling

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

Shashank Gupta edited comment on SLING-2707 at 9/2/13 9:29 AM:
---------------------------------------------------------------

Attached patch(SLING-2707.patch) with feature details at https://cwiki.apache.org/confluence/display/SLING/Chunked+File+Upload+Support
Salient features:
1. Extension to [SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html]
2. Chunk upload is supported in "modify"operation of [SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html] ( ie. In default operation) . No new operation introduced for it.
3. Chunks are stored within actual path in mixin node type. Defined [sling:chunk] and [sling:chunks] for this purpose.
4. Added six integration test cases validating different scenarios. 
SlingPostChunkUploadTest#testChunkUpload"
SlingPostChunkUploadTest#testInterruptedChunkUpload
SlingPostChunkUploadTest#testConcurrentChunkUpload
SlingPostChunkUploadTest#testMidwayChunkUpload
SlingPostChunkUploadTest#testChunkUploadOnExistingNode
SlingPostChunkUploadTest#testChunkUploadOnStreaming
                
      was (Author: shgupta):
    Attached patch(SLING-2707.patch) with feature details at https://cwiki.apache.org/confluence/display/SLING/Chunked+File+Upload+Support
Salient features:
1. Extension to [SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html]
2. Chunk upload is supported in "modify"operation of [SlingPostServlet|http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html] ( ie. In default operation) . No new operation introduced for it.
3. Chunks are stored within actual path in mixin node type. Defined [sling:chunkNode] and [sling:chunkMixin] for this purpose.
4. Added six integration test cases validating different scenarios. 
                  
> Support of chunked file upload into Sling
> -----------------------------------------
>
>                 Key: SLING-2707
>                 URL: https://issues.apache.org/jira/browse/SLING-2707
>             Project: Sling
>          Issue Type: New Feature
>          Components: General
>            Reporter: Shashank Gupta
>         Attachments: SLING-2707.patch, SLING-2707.patch, uploadclient.jar
>
>
> Use cases: 
> 1. Large file upload - With high speed internet connections, advent of cloud and HD going mainstream, Sling should support large files (> 2GB) upload.
> 2. Fault tolerant uploads - Sling should provide capability to resume upload from failure point. It should not require client to restart the complete upload process. 
> 3. Faster upload: Sling should support its clients to initiate multiple connection and upload file chunks in parallel. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira