Retrieval code:--
TitanGraph graph = TitanFactory.open(conf);
System.out.println("titan graph open");
System.out.println("time= "+ (System.currentTimeMillis()-q));
graph.tx().rollback();
System.out.println(graph);
GraphTraversalSource g = graph.traversal();
System.out.println(g);
Vertex fromNode = g.V().has("NodeId", 0).next();
System.out.println("Node for calculating its child nodes : " + fromNode.property("NodeId"));
System.out.println(g.V(fromNode).repeat(out("childs").dedup()).emit().count().next());
need some help
thank you in advcance
if there is n number of nodes means my binary graph is increasing so how to use times() ?.
gremlin> clockWithResult{ Thread.sleep(10) }
==>11.67529047
==>null
gremlin> clockWithResult(5, { Thread.sleep(10) })
==>11.5913306
==>null
But I have a question for you
Is it fine that my system configuration takes this much time as I have to deploy it on aws ?
BTW thaks
--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/dba2e4b2-ebe7-4400-ad17-1c0db856da9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Correct, you would have experienced 3 seconds of user time because 31ms average per query * 100 queries = 3.1s.
Robert Dale
But I have a problem.
What if my graph is increasing and how to set times(n)
How to use accurate times() so that the query run fast and efficiently
Thank a lot guys...! :)
Or even * 1000 queries = 31s
Robert Dale
On Mon, Apr 3, 2017 at 1:45 PM, Robert Dale <rob...@gmail.com> wrote:
Correct, you would have experienced 3 seconds of user time because 31ms average per query * 100 queries = 3.1s.
Robert Dale
On Mon, Apr 3, 2017 at 1:23 PM, Mustafa Tinwala <mustafa.ti...@gmail.com> wrote:
What you say might b right but Actually Jason it takes 31 second as I noticed
But I have a question for you
Is it fine that my system configuration takes this much time as I have to deploy it on aws ?
BTW thaks
--
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/dba2e4b2-ebe7-4400-ad17-1c0db856da9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tuesday, 4 April 2017 11:38:26 UTC+5:30, Mustafa Tinwala wrote:
On Tuesday, 4 April 2017 11:09:26 UTC+5:30, Mustafa Tinwala wrote:
On Monday, 3 April 2017 23:15:57 UTC+5:30, Robert Dale wrote:Or even * 1000 queries = 31sRobert Dale
plz read the last 5 conversation of mine thank you :)
And hey friends i have found another link out of this may be this would be help
--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/2f02c747-0fa5-4f7b-9662-de54f08c7875%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/2f02c747-0fa5-4f7b-9662-de54f08c7875%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/89d6034a-2e14-4da4-815e-74082578a885%40googlegroups.com.