Hey Paolo, I've joined the Jena groups on Incubator.
To answer your questions: - why SDB? I'm not really sure :) I think I got the impression it's better suited for read/write apps than TDB. And somehow it being based on a stable technology like MySQL gives me confidence :) - I don't want to cache HTML since full-blown caching is not the issue right now. I would love semanticreports.com to receive so much traffic that it would be :) Than I would probably go for Varnish, but currently it's not the case. I'm just trying to solve the situation where the report cannot be shown because the remote endpoint is down. And I would like to have the results in XML all the way, because the page is heavily based on XSLT. Martynas semantic-web.dk On Sun, Feb 13, 2011 at 8:07 AM, Paolo Castagna <[email protected]> wrote: > Hi Martynas, > you have already received two answers, I have two questions for you: > > - Why have you been using SDB and not TDB? > - Why not to cache the entire HTML page? > > Just curious. > > Finally, the theme of caching SPARQL results or bindings is something I am > very interested in. Although, I've done nothing so far. > Is anyone thinking to see if caching BGPs inside ARQ (or in a separate module > which would work with ARQ) could possibly work (i.e. boost performances)? > Assuming cache will grow large, it would need to serialize bindings on disk > (see: https://issues.apache.org/jira/browse/JENA-45). > Cache invalidation, as result of an update, is also a tricky problem... as > always. > > Martynas, you should really subscribe to > jena-{dev|users}@incubator.apache.org, just send an email to: > > - [email protected] > - [email protected] > > See you there, > Paolo > > > Martynas Jusevicius wrote: >> Hey list, >> >> my http://semanticreports.com webapp is based almost exclusively on >> SPARQL results - mostly from remote endpoints, but it also uses SDB to >> store its own RDF (meta)data. >> >> The issue is, I still want to show the reports/visualizations based on >> a previous result, even if the remote endpoint is currently down. >> Which brings me to caching of SPARQL XML results - and saving them >> with RDF in SDB. >> >> I imagine it could be saved as XMLLiteral. Does this sound reasonable? >> And which methods should we use? This looks about right: >> http://jena.sourceforge.net/javadoc/com/hp/hpl/jena/rdf/model/Model.html#createLiteral%28java.lang.String,%20boolean%29 >> >> Thanks, >> >> Martynas >> semantic-web.dk >> >> >> ------------------------------------ >> >> Yahoo! Groups Links >> >> >> > > > ------------------------------------ > > Yahoo! Groups Links > > <*> To visit your group on the web, go to: > http://groups.yahoo.com/group/jena-dev/ > > <*> Your email settings: > Individual Email | Traditional > > <*> To change settings online go to: > http://groups.yahoo.com/group/jena-dev/join > (Yahoo! ID required) > > <*> To change settings via email: > [email protected] > [email protected] > > <*> To unsubscribe from this group, send an email to: > [email protected] > > <*> Your use of Yahoo! Groups is subject to: > http://docs.yahoo.com/info/terms/ > >
