[Neo4j] Gremlin performance?

2011-07-23 Thread Josef Holy
Hi all, has someone on this list any practical experience with using Gremlin for traversing the EmbeddedGraphDatabase in a production environment? What interests me is how it performs compared to the traversal algorithms written directly against Neo4j APIs (using Traverser,

Re: [Neo4j] Gremlin performance?

2011-07-23 Thread Michael Hunger
If you look at the comments of the post - groovy is only that slow if you implement all the algorithm details in groovy ! Gremlin uses blueprints which is written in Java. Gremlin is just a DSL on top of that API so it is just used for the construction of the underlying pipeline. Anyway,

Re: [Neo4j] Gremlin performance?

2011-07-23 Thread Marko Rodriguez
Hey, Groovy is only used to compile a statement like g.v(1).out.in.blah to a Pipes which is native Java. As such, once the compilation is complete (milliseconds), it is simply native Java (This is not completely true as there are some Gremlin specific pipes). Next, for the relationship between

Re: [Neo4j] Gremlin performance?

2011-07-23 Thread Marko Rodriguez
Hi, Finally, one point to add. If I only need to do a ShorestPath over a particular edge type or a find all paths between two vertices and I'm using Neo4j as the graph backend, then I will drop down and use Neo4j's Algo library. This is because their ShorestPath implementation is