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

Andy Seaborne commented on JENA-516:
------------------------------------

The HTTP file upload case is hard to do and impossible in the general case.  
The HTTP file upload is the data and the graph name.  An HTTP form does not 
allow the graph name to be in the HTTP query string and the data in body.  Both 
are in the multipart HTTP body.  

The graph name may come after the data so the data might need to be read before 
the destination is known.  Therefore it's not possible to stream it straight to 
the final destination in a transaction wrapper.

Therefore, use Graph Store Protocol for large uploads.  HTTP file upload is a 
convenience for HTTP forms but does not scale quite as well.
                
> Fuseki should use dataset transactions where available, not parse to an 
> intermediate datastructure
> --------------------------------------------------------------------------------------------------
>
>                 Key: JENA-516
>                 URL: https://issues.apache.org/jira/browse/JENA-516
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Fuseki
>    Affects Versions: Fuseki 0.2.7
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> Fuseki should detect when an update operation is on a real transactional 
> dataset and avoid parsing the data into a RAM as a validation step.
> This is especially the case for Graph Store Protocol operations.

--
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

Reply via email to