Replies: 1 comment 8 replies
-
NativeStore isn't very fast in general. Have you tried with the LMDB Store? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running RDF4j 5.1.x in AWS, running in docker as a ECS container service. The file system is using EBS. Config looks like this:
[] a config:Repository ;
config:rep.id "kms" ;
rdfs:label "kms" ;
config:rep.impl [
config:rep.type "openrdf:SailRepository" ;
config:sail.impl [
config:sail.type "openrdf:NativeStore" ;
config:native.forceSync true ;
config:sail.memory "false" ;
config:sail.reindex "true" ;
config:sail.writeThrough "true" ;
]
].
'
We've got 130+ graph, each with about 180K triples in them.
Using the RDF4J RESTful API, we have an operation that does
MOVE [published graph] TO [past_published_graph]
and as part of the same operation
COPY [draft]
TO [publish]
Locally this operation takes about 5 seconds to complete. But in AWS we are seeing 30+ seconds, enough for our API Gateway to timeout.
I'm surprised there such a difference between local and AWS, the server is under no load. I'm wondering if this might be latency since it using a EBS volume.
I've given the server 6G of memory, so it should have plenty for the data being stored.
Curious if there are any red flags for those who have worked with rdf4j in this environment, is this normal? Any thoughts on making this faster. We'll probably just call this operation asynchronous, but also seeing slower responses in other areas as well, so I thought I'd ask.
Thanks and appreciate any thoughts.
Chris
Beta Was this translation helpful? Give feedback.
All reactions