InProcess GraphDB with Gremlin Support? (C# or NodeJS)
Hello,
is there any in process GraphDB out there in the world?
Best would be c# or NodeJS and not Java 😉
#questions <:provider_neptune:1131661367972221059>
Solution:Jump to solution
Not that I know of for NodeJS.
The best I've found is to either spin up a container (I believe there is a docker image for each version) or run gremlin server using a script before the code execution.
In my case I needed to run unit-test on Neptune so I used the script method.
I've seen this request a couple of times, if you're also interested I can try to make it open source...
8 Replies
Solution
Not that I know of for NodeJS.
The best I've found is to either spin up a container (I believe there is a docker image for each version) or run gremlin server using a script before the code execution.
In my case I needed to run unit-test on Neptune so I used the script method.
I've seen this request a couple of times, if you're also interested I can try to make it open source
(I used https://github.com/rynop/dynamodb-local as a reference, so it's basically a "neptune-local")
Hi @sgaufret thank you for the response.
I was also not finding a direct hit until now.
We will have a software solution, that can be local, onPrem or Cloud. For Cloud and OnPrem we are fine as we can spin up any container.
On Local, we have to ship somehow the solution with the software.
So I was looking into ArcadeDB, OrientDB, Bitsy, but I was not able to run it properly on Windows. None of them... Did you tried some of them?
I doubt that I can use dynamodb-local without a commercial license. I will look into that.
If you need to ship it with the software, I guess you should use the script method I mentioned :
- download gremlin server zip file
- extract it
- add your custom configuration file if any
- start the database with some script (to handle failures etc...)
For tinkerpop that's the only method I know, and I mentioned ddb-local because it does the same thing but for DDB, not to use it directly
I think gremlin-server has a windows start script so it should work fine
@JoJ123 the graphs you mention are all Java based and should all be hostable in Gremlin Server so each should be able to run on Windows. I'd say @sgaufret is on the right track with the advice provided.
Thank you both.
So, yeah I've tried already multiple providers together with the gremlin-server.zip, but not successful.
I have an StackOverflow issue with the different errors I faced: https://stackoverflow.com/questions/77244573/light-gremlin-server-graphdb-access-via-node-js-gremlin-lib
Anyway, do you think if I create detailed ReproSteps here as a seperate questions there will be someone to support on the graphdb providers?
Which of the one above mentioned by me would be your favorite choice for the desktop usecase?
Just to be sure, the gremlin server itself cannot write the graph to a file and load from there? I will in any case have to ship:
- Gremlin Server (zip package)
- One supported GraphDB Provider
I think there are roles for different providers, maybe you can open separate questions on the issues you faced and ping the related roles?
I can help for the Gremlin server but that's it 😅
On the write to disk, I vaguely remember something like that existing. I know it exists in Neptune but not sure on the vanilla server 🤔
might want to give some more time on the issues you raised as well before opening up specific questions. it's only been a few hours. we could raise folks from arcadedb here on discord but probably not the others, though it would be nice if those folks hung out here...especially Bitsy as I don't think I've heard from lambdazen in years and they always had nice ideas for TinkerPop.