--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/50a89f2f-bcc2-4d9a-a0e5-a0e9b28c7b34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> But what precisely do you mean by load it into memory? It is not supposed to fit into RAM is it?in JVM terms since you're using JanusGraph, it's basically the amount of memory you allot to the JVM (i.e.-Xmx), so, yes, RAM.
On Thu, Jul 4, 2019 at 7:29 AM Lisa Fiedler <liz...@hotmail.de> wrote:
--Hi Florian,Thanks for comment. This explains my problem.My working graph is rather large (billions of vertices alone). However, I was testing performance on a small subgraph.But what precisely do you mean by load it into memory? It is not supposed to fit into RAM is it?
Am Donnerstag, 4. Juli 2019 11:30:04 UTC+2 schrieb Florian Hockmann:Hi Lisa,how many vertices and edges are in your graph? It's expected that graph computer is slower on small graphs as it has to load your full graph into memory, spin up some Spark workers, let them run the jobs and then aggregate the results. This overhead will dominate the runtime for the graph computer for very small graphs. With OLTP traversals you don't have that overhead which makes it faster for small graphs, but it won't scale to big graphs.
Am Donnerstag, 4. Juli 2019 10:41:10 UTC+2 schrieb Lisa Fiedler:Hi,It is possible to use gremlin's graph computer for traversals as explained here:Based on the documentation on graph computer I was under the impression, that it should always be more performant to use a graph computerapproach for queries concerning the entire graph such as for instance:g.V().groupCount().by(out().count())However, using the timeutil clock this query seems to perform way poorer on a graph computer (i.e. with graph.traversal().withComputer())than for a standard OLTP query (i.e. with graph.traversal()).
Am I missing something here?Thanks a lot!
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.
The graph may fit within the total RAM of the cluster (supports larger graphs). Message passing is coordinated via Spark map/reduce/join operations on in-memory and disk-cached data (average speed traversals).
(http://tinkerpop.apache.org/docs/3.3.7/reference/#_olap_hadoop_gremlin)And I thought a configuration of gremlin.spark.graphStorageLevel=MEMORY_AND_DISK would realize this.