TheProjecter / simal

Automatically exported from code.google.com/p/simal
0 stars 0 forks source link

Use caching to improve performance #267

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The public repository http://registry.oss-watch.ac.uk is extremely slow.
This seems to be related to the size of the repository (currently 
unsupported by numbers). We have some 1500 projects, but this  number is 
expected to grow  and there will be more data besides the projects.

Ross suggested to look into Ehcache (http://ehcache.org/) to cache reads 
from the db, as the data is not volatile.

I also noticed that our Jena implementation uses the legacy and deprecated 
backend RDB, whereas currently there are two alternatives:
  SDB - a SPARQL relational database for Jena
  TDB - a pure Java SPARQL database for Jena.
Changing the backend to one of these may help performance as well.
See Jena documentation http://jena.sourceforge.net/documentation.html

Original issue reported on code.google.com by sander.v...@oucs.ox.ac.uk on 22 Jan 2010 at 4:34

GoogleCodeExporter commented 9 years ago
Setting priority and changing milestone and subject to better reflect current 
situation (change of back end has resulted in much better performance). Caching 
is still something we should look at in the future

Original comment by ross.gardler on 7 Jul 2010 at 10:14