AT

InProcess GraphDB with Gremlin Support? (C# or NodeJS)

JJoJ1239/29/2023
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:
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...
Jump to solution
Solution
X3x19/29/2023
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
X3x19/29/2023
(I used https://github.com/rynop/dynamodb-local as a reference, so it's basically a "neptune-local")
JJoJ12310/6/2023
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.
X3x110/6/2023
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
Sspmallette10/6/2023
@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.
JJoJ12310/6/2023
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
X3x110/6/2023
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 šŸ¤”
Sspmallette10/6/2023
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.

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Easiest Way to Get List Cardinality Properties As a List?What is the easiest way to retrieve the vertex properties that have list cardinality back as a list filter lambda in remote consolehi all, iā€™m trying to do filter on remote console to neptune server but keep getting MalformedQueryEwithin() and case insensitiveI need to check if a property of a node is in a list of values. How can I do that in a case insensitproject("p").by(__.values("a", "b") Only Outputs Single Property, Bug or Expected?I am curious why this does not behave in the way I expected. Not a problem - solution question. I Use of by()Can somebody explain the usecase of by() function in gremlin in very simple language.@GremlinDSL support in the GremlinLangScriptEngineHi, I recently sent a pull-request into the github ArcadeDB repository to add support binding custoRepeatStep does not appear to respect barriersI was digging into some traversal performance and had something similar to the following: ``` g.V(<Trying to find a Vertex using a variable injected earlier in the traversalI am trying to add a series of vertices and edges to an existing graph. The newly created Vertex wiDoes Gremlin support API for CRUD operations?Currently using g.V() for read and g.addV() for write.Individual Vertex per property or Vertex with grouped propertiesI'm building an identity graph that also stores User profile data - things like email address, phoneFilter out empty resultsgremlin> g.V().hasLabel('metadata').valueMap() ==>{} ==>{} ==>{oncall_roster=[oncall_schedule]} HowQuestion on running queries in windows env.I get an error `RuntimeError: Event loop is closed`, but after troubleshooting I notice that my scriPropertiesStep.hashcode() not always uniqueAs background... We're working with Gremlin (groovy) to write queries against an in memory graph modConditionally update one vertex property when another property matches a certain provided valuehttps://stackoverflow.com/questions/76971695/update-vertex-properties-when-property-a-matches-properTrying to run a local version for a test, what is the correct serializer?Windows machine, local host. I can't find the Running this, https://github.com/bricaud/gremlin-servadding edges to multiple vertices at onceHey all. Working with tinkerpop on Cosmos Gremlin DB which is horrific. Wondering is there anyway aDoes .math() always return a Double?I have the following query, how can I get the result as a Long instead of a Double? In context, I wTrying to update a property value based on another propertyI have a query that looks something like the following g.V('9999').hasLabel('someLabel').propertiesCasting issue with Gremlin JavaI wrote the following query and I can't get it to compile, tried a ton of casting but it just isn't valueMap and MultivaluesI was going to use the recipe from @KelvinL 's book to return lists only when the property has multi