[GitHub] tinkerpop issue #734: TINKERPOP-1801: fix profile() timing in OLAP by adding...

2017-10-22 Thread dkuppitz
Github user dkuppitz commented on the issue:

https://github.com/apache/tinkerpop/pull/734
  
VOTE: +1


---


[jira] [Commented] (TINKERPOP-1801) OLAP profile() step return incorrect timing

2017-10-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TINKERPOP-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214622#comment-16214622
 ] 

ASF GitHub Bot commented on TINKERPOP-1801:
---

Github user dkuppitz commented on the issue:

https://github.com/apache/tinkerpop/pull/734
  
VOTE: +1


>  OLAP profile() step return incorrect timing
> 
>
> Key: TINKERPOP-1801
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1801
> Project: TinkerPop
>  Issue Type: Bug
>  Components: hadoop
>Affects Versions: 3.3.0, 3.2.6
>Reporter: Artem Aliev
>
> Graph ProfileStep calculates time of next()/hasNext() calls, expecting 
> recursion.
> But Message passing/RDD joins is used by GraphComputer.
> So next() does not recursively call next steps, but message is generated. And 
> most of the time is taken by message passing (RDD join). 
> Thus on graph computer the time between ProfileStep should be measured, not 
> inside it.
> The other approach is to get Spark statistics with SparkListener and add 
> spark stages timings into profiler metrics. that will work only for spark but 
> will give better representation of step costs.
> The simple fix is measuring time between OLAP iterations and add it to the 
> profiler step.
> This will not take into account computer setup time, but will be precise 
> enough for long running queries.
> To reproduce:
> tinkerPop 3.2.6 gremlin:
> {code}
> plugin activated: tinkerpop.server
> plugin activated: tinkerpop.utilities
> plugin activated: tinkerpop.spark
> plugin activated: tinkerpop.tinkergraph
> gremlin> graph = 
> GraphFactory.open('conf/hadoop/hadoop-grateful-gryo.properties')
> gremlin> g = graph.traversal().withComputer(SparkGraphComputer)
> ==>graphtraversalsource[hadoopgraph[gryoinputformat->gryooutputformat], 
> sparkgraphcomputer]
> gremlin> g.V().out().out().count().profile()
> ==>Traversal Metrics
> Step   Count  
> Traversers   Time (ms)% Dur
> =
> GraphStep(vertex,[]) 808  
>808   2.02518.35
> VertexStep(OUT,vertex)  8049  
>562   4.43040.14
> VertexStep(OUT,edge)  327370  
>   7551   4.58141.50
> CountGlobalStep1  
>  1   0.001 0.01
> >TOTAL -  
>  -  11.038-
> gremlin> clock(1){g.V().out().out().count().next() }
> ==>3421.92758
> gremlin>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Sqlg's description

2017-10-22 Thread pieter gmail

Hi,

Can I request Sqlg's description on the homepage 
 to be changed.
Sqlg now supports more back-ends and changes are that it will support 
non RDBMS but SQL databases in the future.


Can we change it to

"OLTP implementation on SQL databases."

Thanks
Pieter


[jira] [Created] (TINKERPOP-1806) Consistently use Gremlin.Net instead of Gremlin-DotNet

2017-10-22 Thread Florian Hockmann (JIRA)
Florian Hockmann created TINKERPOP-1806:
---

 Summary: Consistently use Gremlin.Net instead of Gremlin-DotNet
 Key: TINKERPOP-1806
 URL: https://issues.apache.org/jira/browse/TINKERPOP-1806
 Project: TinkerPop
  Issue Type: Task
  Components: documentation, dotnet
Affects Versions: 3.2.6, 3.3.0
Reporter: Florian Hockmann
Priority: Trivial


We agreed in TINKERPOP-1552 to name the .NET GLV and driver Gremlin.Net, but I 
used Gremlin-DotNet instead in the initial pull request. The documentation 
still uses mainly Gremlin-DotNet which could be a bit confusing to new users. 
So we should simply replace _Gremlin-DotNet_ everywhere by _Gremlin.Net_.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (TINKERPOP-1805) Document Gremlin.Net driver

2017-10-22 Thread Florian Hockmann (JIRA)
Florian Hockmann created TINKERPOP-1805:
---

 Summary: Document Gremlin.Net driver
 Key: TINKERPOP-1805
 URL: https://issues.apache.org/jira/browse/TINKERPOP-1805
 Project: TinkerPop
  Issue Type: Task
  Components: documentation, dotnet
Affects Versions: 3.2.6, 3.3.0
Reporter: Florian Hockmann
Priority: Minor


The reference documentation contains sections for Gremlin Server about 
_Connecting via Java_ and _Connecting via Python_ that describe how to use the 
respective drivers for those languages. A similar section should be added for 
Gremlin.Net that shows how scripts can be sent to the server and which config 
options are available.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)