Skip to content

Is it possible to disable a certain form of caching in RDF4J? #3621

Answered by hmottestad
DennisDosso asked this question in Q&A
Discussion options

You must be logged in to vote

Great that you are benchmarking RDF4J!

RDF4J doesn't cache the query results between queries (except for the ElasticsearchStore).

The NativeStore has a number of caches for reducing IO during read and write operations. Some of these are configurable while others are not. Here are some that are configurable:

Your operating system also has a disk cache, which will affect your performance. Your CPU also has a number of caches that will affect your performance too.

Do keep in mind that the Java Virtual Machine uses just-in-time compilation, so you need to warm up the system before you can make any measurements. Take a look …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DennisDosso
Comment options

@hmottestad
Comment options

@abrokenjester
Comment options

Answer selected by DennisDosso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants