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

ASF GitHub Bot commented on JENA-626:
-------------------------------------

Github user samaitra commented on the pull request:

    https://github.com/apache/jena/pull/95#issuecomment-158991909
  
    The CacheEntry is a wrapper object to hold the Query ResultSet and data 
byte array. The CacheAction is used to make a decision on filling the cache or 
read from cache. The design is based on an issue that I faced during iterating 
over result for select queries. The ask,construct and describe queries 
ResultSet can be cached and data can be fetched from cache but incase of select 
queries while iterating over results I faced error as ResultSet is closed, 
Query execution error. So, only caching the ResultSet is not sufficient to 
build the response  body for select queries. This is also the reason while I 
needed to replicate the ResultSet data while it is written to ServletOut. 


> SPARQL Query Caching
> --------------------
>
>                 Key: JENA-626
>                 URL: https://issues.apache.org/jira/browse/JENA-626
>             Project: Apache Jena
>          Issue Type: Improvement
>            Reporter: Andy Seaborne
>            Assignee: Saikat Maitra
>              Labels: java, linked_data, rdf, sparql
>
> Add a caching layer to Fuseki to cache the results of SPARQL Query requests.  
> This cache should allow for in-memory and disk-based caching, configuration 
> and cache management, and coordination with data modification.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to