arc

Sesame RDF PHP JAVA bridge on Caucho yields massive performance increase

You are looking at the speed of AHIRC front page loads now, after another 18 hour day. This is 3-12X faster than the last post!!

Will the real speed issue (with the rdf store) please stand up? (WE NEED AGGREGATE FUNCTIONS!)

212 queries to load the front page of AHIRC. That'll do it.
This happens because I am trying to emulate the "COUNT" mixed with "GROUP BY" you'd find in SQL. One company has it:
http://docs.openlinksw.com/virtuoso/rdfsparqlaggregate.html
And looks like others are anxious:
http://simile.mit.edu/mail/ReadMsg?listId=14&msgId=16326
But it's not an easy problem in a broader context:
http://www.ldodds.com/wordtin/Wiki.jsp?page=UniqueNamesAssumption

Yars and Sesame instead of ARC?

Sesame 2.0 is 2-10 times as fast for the queries I perform than ARC. However, Sesame 2.0 SPARQL doesn't have some features I need, like ORDER BY and full support for OPTIONAL. If these come through soon, I'm going to still need to build a bridge between Drupal/PHP and Sesame. I'll either need:

  • Resin, and run PHP inside Java for Sesame
  • PHP REST against YARS which uses N3 and no SPARQL
  • Redland, with maybe the new lib-b
  • PHP REST against Sesame, and just deal with current SPARQL limitations
Syndicate content