Replies: 4 comments 1 reply
-
|
No, none of our backends are designed to share storage. They all assume that the storage is dedicated to the instance. What is your reason for wanting to run multiple instances of RDF4J on the same host on the same db files? Are you running into performance issues with RDF4J when you only run a single instance? |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you for the info.
No performance issue so far. We have a small db (<300k tuples) and a low number of concurrent SPARQL requests. At this point in time, it's more an exercise for later and to better understand how to operate a RDF4J DB in production.
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you @hmottestad To keep a clean backlog, the initial question been answered, I'm closing the ticket. |
Beta Was this translation helpful? Give feedback.
-
|
If you run into a SELECT bottleneck with multiple parallel clients, the way to go would be a simple high-availability setup, with one primary node, and multiple replicas. RDF4J does not currently support that, but it was discussed previously here: #5147 In the Nanopublication Network we have a custom replication setup (based on Jelly streams) that sends the relevant RDF quads to all RDF4J instances. This is however a simpler case (append-only) and works only for that particular use case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem description
Hello,
I'm using RDF4J as a database backend for a web+api application written in python.
RDF4J is deployed using docker compose.
I'm using the SAIL API to create the repositories and then the SPARQL endpoint to DELETE/INSERT and ASK/SELECT/CONSTRUCT.
Most requests to the DB are ReadOnly and I'm wondering how I could have one RW instance and several RO instances, using the same filesystem.
I'm trying with this docker compose
I'm getting this error on the RO instance:
Is this scenario is at all supported by RDF4J ?
Best regards,
Pierre
Preferred solution
A tutorial for one RW and several RO instances on the same host, sharing the filesystem where data is stored.
Are you interested in contributing a solution yourself?
I don't have much JAVA experience, but I can test deployment variation.
Alternatives you've considered
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions